Module: wine Branch: master Commit: 005ed85689344a5884fc7351b15c88ad5294691d URL: http://source.winehq.org/git/wine.git/?a=commit;h=005ed85689344a5884fc7351b1...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Aug 5 12:38:59 2016 +0200
wined3d: Rename wined3d_sample_destroy_object() to wined3d_sampler_destroy_object().
Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wined3d/sampler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/sampler.c b/dlls/wined3d/sampler.c index 1a2e2a1..5902feb 100644 --- a/dlls/wined3d/sampler.c +++ b/dlls/wined3d/sampler.c @@ -33,7 +33,7 @@ ULONG CDECL wined3d_sampler_incref(struct wined3d_sampler *sampler) return refcount; }
-static void wined3d_sample_destroy_object(void *object) +static void wined3d_sampler_destroy_object(void *object) { struct wined3d_sampler *sampler = object; const struct wined3d_gl_info *gl_info; @@ -54,7 +54,7 @@ ULONG CDECL wined3d_sampler_decref(struct wined3d_sampler *sampler) TRACE("%p decreasing refcount to %u.\n", sampler, refcount);
if (!refcount) - wined3d_cs_emit_destroy_object(sampler->device->cs, wined3d_sample_destroy_object, sampler); + wined3d_cs_emit_destroy_object(sampler->device->cs, wined3d_sampler_destroy_object, sampler);
return refcount; }