[PATCH 2/5] wined3d: Rename wined3d_sample_destroy_object() to wined3d_sampler_destroy_object().
Henri Verbeet
hverbeet at codeweavers.com
Fri Aug 5 05:38:59 CDT 2016
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
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;
}
--
2.1.4
More information about the wine-patches
mailing list