Commit 005ed856 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Rename wined3d_sample_destroy_object() to wined3d_sampler_destroy_object().

parent 29d50a21
...@@ -33,7 +33,7 @@ ULONG CDECL wined3d_sampler_incref(struct wined3d_sampler *sampler) ...@@ -33,7 +33,7 @@ ULONG CDECL wined3d_sampler_incref(struct wined3d_sampler *sampler)
return refcount; return refcount;
} }
static void wined3d_sample_destroy_object(void *object) static void wined3d_sampler_destroy_object(void *object)
{ {
struct wined3d_sampler *sampler = object; struct wined3d_sampler *sampler = object;
const struct wined3d_gl_info *gl_info; const struct wined3d_gl_info *gl_info;
...@@ -54,7 +54,7 @@ ULONG CDECL wined3d_sampler_decref(struct wined3d_sampler *sampler) ...@@ -54,7 +54,7 @@ ULONG CDECL wined3d_sampler_decref(struct wined3d_sampler *sampler)
TRACE("%p decreasing refcount to %u.\n", sampler, refcount); TRACE("%p decreasing refcount to %u.\n", sampler, refcount);
if (!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; return refcount;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment