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

Alexandre Julliard julliard at winehq.org
Tue Oct 18 12:56:26 CDT 2011


Module: wine
Branch: master
Commit: 71640e00f9e071f1467d32394724de3bb616c3c9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=71640e00f9e071f1467d32394724de3bb616c3c9

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Oct 17 21:06:23 2011 +0200

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

---

 dlls/wined3d/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 10ea92d..044ee34 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)




More information about the wine-cvs mailing list