Module: wine Branch: master Commit: 8db119b7001ab1ce47ca086eef5edf1d44076fc8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8db119b7001ab1ce47ca086eef...
Author: Stefan Dösinger stefan@codeweavers.com Date: Fri Jul 30 06:41:49 2010 +0200
wined3d: Use the correct type in device_unit_free_for_vs.
---
dlls/wined3d/device.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 7f6eb8e..f18b477 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -3486,8 +3486,8 @@ static void device_map_psamplers(IWineD3DDeviceImpl *This, const struct wined3d_ } }
-static BOOL device_unit_free_for_vs(IWineD3DDeviceImpl *This, const DWORD *pshader_sampler_tokens, - const DWORD *vshader_sampler_tokens, DWORD unit) +static BOOL device_unit_free_for_vs(IWineD3DDeviceImpl *This, const WINED3DSAMPLER_TEXTURE_TYPE *pshader_sampler_tokens, + const WINED3DSAMPLER_TEXTURE_TYPE *vshader_sampler_tokens, DWORD unit) { DWORD current_mapping = This->rev_tex_unit_map[unit];