wined3d: Fix logical condition in find_clip_texcoord().

This commit is contained in:
Gerald Pfeifer 2009-06-20 17:17:53 +02:00 committed by Alexandre Julliard
parent 3657c0af83
commit 569b448e13
1 changed files with 1 additions and 1 deletions

View File

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