Commit 569b448e authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

wined3d: Fix logical condition in find_clip_texcoord().

parent 3657c0af
......@@ -3856,7 +3856,7 @@ static void find_clip_texcoord(IWineD3DPixelShaderImpl *ps, const WineD3D_GL_Inf
{
for(i = GL_LIMITS(texture_stages); i > 0; i--)
{
if(!ps->baseShader.reg_maps.input_registers & (1 << (i - 1)))
if(!(ps->baseShader.reg_maps.input_registers & (1 << (i - 1))))
{
shader_priv->clipplane_emulation = i;
break;
......
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