wined3d: The clipplane mask and texcoords are unsigned.

This commit is contained in:
Stefan Dösinger 2010-07-28 15:47:22 +02:00 committed by Alexandre Julliard
parent b5a8c33182
commit 1d710bb4ca

View file

@ -248,8 +248,8 @@ struct arb_vs_compile_args
struct
{
WORD bools;
char clip_texcoord;
char clipplane_mask;
unsigned char clip_texcoord;
unsigned char clipplane_mask;
} boolclip;
DWORD boolclip_compare;
} clip;
@ -4482,7 +4482,7 @@ static inline void find_arb_vs_compile_args(IWineD3DVertexShaderImpl *shader, IW
{
if(stateblock->renderState[WINED3DRS_CLIPPING])
{
args->clip.boolclip.clipplane_mask = stateblock->renderState[WINED3DRS_CLIPPLANEENABLE];
args->clip.boolclip.clipplane_mask = (unsigned char) stateblock->renderState[WINED3DRS_CLIPPLANEENABLE];
}
/* clipplane_mask was set to 0 by setting boolclip_compare to 0 */
}