summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/r200
diff options
context:
space:
mode:
authorkeithw <keithw>2003-07-27 04:01:04 +0000
committerkeithw <keithw>2003-07-27 04:01:04 +0000
commit9e5db0837ac992aa3c90f8a5f9db2cc48af26d88 (patch)
tree98ce240e831530cddf6246c34951645491ee40e3 /xc/lib/GL/mesa/src/drv/r200
parentd90ab9ec75776bbf41d24221cfec31a8c2ec371b (diff)
Fix test_gl4.c -- turn off lighting-in-model coords when fog active
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/r200')
-rw-r--r--xc/lib/GL/mesa/src/drv/r200/r200_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xc/lib/GL/mesa/src/drv/r200/r200_state.c b/xc/lib/GL/mesa/src/drv/r200/r200_state.c
index 63628a4c7..9a3cb4bd2 100644
--- a/xc/lib/GL/mesa/src/drv/r200/r200_state.c
+++ b/xc/lib/GL/mesa/src/drv/r200/r200_state.c
@@ -1734,6 +1734,7 @@ static void r200Enable( GLcontext *ctx, GLenum cap, GLboolean state )
rmesa->hw.tcl.cmd[TCL_UCP_VERT_BLEND_CTL] &= ~R200_TCL_FOG_MASK;
}
r200UpdateSpecular( ctx ); /* for PK_SPEC */
+ _mesa_allow_light_in_model( ctx, !state );
break;
case GL_LIGHT0: