From 71640e00f9e071f1467d32394724de3bb616c3c9 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 17 Oct 2011 21:06:23 +0200 Subject: [PATCH] wined3d: Make the device parameter to invalidate_active_texture() const. --- dlls/wined3d/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 10ea92d22eb..044ee346efe 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -4628,7 +4628,7 @@ float CDECL wined3d_device_get_npatch_mode(const struct wined3d_device *device) return 0.0f; } -static inline void invalidate_active_texture(struct wined3d_device *device, struct wined3d_context *context) +static void invalidate_active_texture(const struct wined3d_device *device, struct wined3d_context *context) { DWORD sampler = device->rev_tex_unit_map[context->active_texture]; if (sampler != WINED3D_UNMAPPED_STAGE)