r300: oops wrong logic for swtcl
authorDave Airlie <airlied@nx6125b.(none)>
Sun, 1 Jul 2007 09:27:26 +0000 (19:27 +1000)
committerDave Airlie <airlied@nx6125b.(none)>
Sun, 1 Jul 2007 09:27:26 +0000 (19:27 +1000)
src/mesa/drivers/dri/r300/r300_render.c

index 7d8defd1cd80fa8948806c0df0407f3c49bb31db..eee1e803a00a38b32a512d48b4b4fe60bfe83cbf 100644 (file)
@@ -379,7 +379,7 @@ static GLboolean r300RunNonTCLRender(GLcontext * ctx,
        if (r300Fallback(ctx) >= R300_FALLBACK_RAST)
                return GL_TRUE;
 
-       if (rmesa->radeon.radeonScreen->chip_flags & RADEON_CHIPSET_TCL)
+       if (!(rmesa->radeon.radeonScreen->chip_flags & RADEON_CHIPSET_TCL))
                return GL_TRUE;
 
        return r300RunRender(ctx, stage);