Henri Verbeet : wined3d: Make the device parameter to device_unit_free_for_vs() const.
Alexandre Julliard
julliard at winehq.org
Wed Sep 14 12:25:38 CDT 2011
Module: wine
Branch: master
Commit: 8a12e951e63fafc52546b84e53491cbdf8c98d9c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8a12e951e63fafc52546b84e53491cbdf8c98d9c
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Sep 13 20:02:26 2011 +0200
wined3d: Make the device parameter to device_unit_free_for_vs() 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 1dc6cbc..43d51e7 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -2954,7 +2954,7 @@ static void device_map_psamplers(struct wined3d_device *device, const struct win
}
}
-static BOOL device_unit_free_for_vs(struct wined3d_device *device,
+static BOOL device_unit_free_for_vs(const struct wined3d_device *device,
const WINED3DSAMPLER_TEXTURE_TYPE *pshader_sampler_tokens,
const WINED3DSAMPLER_TEXTURE_TYPE *vshader_sampler_tokens, DWORD unit)
{
More information about the wine-cvs
mailing list