nouveau: argh
authorBen Skeggs <darktama@iinet.net.au>
Tue, 30 Jan 2007 05:51:50 +0000 (16:51 +1100)
committerBen Skeggs <darktama@iinet.net.au>
Tue, 30 Jan 2007 05:51:50 +0000 (16:51 +1100)
src/mesa/drivers/dri/nouveau/nv30_state.c

index e1e0da98d497a0d7e4ba3b6ced9957594b656a51..96a07fd53637cd84d4d731c75559e23b6661d701 100644 (file)
@@ -244,7 +244,7 @@ static void nv30Enable(GLcontext *ctx, GLenum cap, GLboolean state)
                        OUT_RING_CACHE(state);
                        break;
                case GL_FOG:
-                       if (!NOUVEAU_CARD_USING_SHADERS)
+                       if (NOUVEAU_CARD_USING_SHADERS)
                                break;
                        BEGIN_RING_CACHE(NvSub3D, NV30_TCL_PRIMITIVE_3D_FOG_ENABLE, 1);
                        OUT_RING_CACHE(state);