wined3d: Make the device parameter to invalidate_active_texture() const.

This commit is contained in:
Henri Verbeet 2011-10-17 21:06:23 +02:00 committed by Alexandre Julliard
parent 14ca56ed97
commit 71640e00f9
1 changed files with 1 additions and 1 deletions

View File

@ -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)