Commit 1d710bb4 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: The clipplane mask and texcoords are unsigned.

parent b5a8c331
......@@ -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 */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment