diff options
author | Ben Skeggs <darktama@iinet.net.au> | 2007-01-30 16:51:50 +1100 |
---|---|---|
committer | Ben Skeggs <darktama@iinet.net.au> | 2007-01-30 16:51:50 +1100 |
commit | a4ddd64f3659b9db7719d3746c1469ece6bb44c5 (patch) | |
tree | 1d6d6c4f8d4970fe88a31513b6240a2ae30c23fa /src/mesa/drivers/dri | |
parent | f9345c7c4e22cd40d2efda73f1b044ab808f2c78 (diff) |
nouveau: argh
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv30_state.c | 2 |
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 e1e0da98d4..96a07fd536 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); |