wined3d: Use the correct type in device_unit_free_for_vs.

This commit is contained in:
Stefan Dösinger 2010-07-30 06:41:49 +02:00 committed by Alexandre Julliard
parent 723d87c280
commit 8db119b700
1 changed files with 2 additions and 2 deletions

View File

@ -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];