summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2007-01-30 16:51:50 +1100
committerBen Skeggs <[email protected]>2007-01-30 16:51:50 +1100
commita4ddd64f3659b9db7719d3746c1469ece6bb44c5 (patch)
tree1d6d6c4f8d4970fe88a31513b6240a2ae30c23fa
parentf9345c7c4e22cd40d2efda73f1b044ab808f2c78 (diff)
nouveau: argh
-rw-r--r--src/mesa/drivers/dri/nouveau/nv30_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv30_state.c b/src/mesa/drivers/dri/nouveau/nv30_state.c
index e1e0da98d49..96a07fd5363 100644
--- a/src/mesa/drivers/dri/nouveau/nv30_state.c
+++ b/src/mesa/drivers/dri/nouveau/nv30_state.c
@@ -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);