diff options
Diffstat (limited to 'xc/lib/GL')
-rw-r--r-- | xc/lib/GL/mesa/src/drv/r200/r200_state.c | 1 | ||||
-rw-r--r-- | xc/lib/GL/mesa/src/drv/radeon/radeon_state.c | 1 |
2 files changed, 2 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: diff --git a/xc/lib/GL/mesa/src/drv/radeon/radeon_state.c b/xc/lib/GL/mesa/src/drv/radeon/radeon_state.c index f0e206231..0161df0f9 100644 --- a/xc/lib/GL/mesa/src/drv/radeon/radeon_state.c +++ b/xc/lib/GL/mesa/src/drv/radeon/radeon_state.c @@ -1717,6 +1717,7 @@ static void radeonEnable( GLcontext *ctx, GLenum cap, GLboolean state ) radeonUpdateSpecular( ctx ); /* for PK_SPEC */ if (rmesa->TclFallback) radeonChooseVertexState( ctx ); + _mesa_allow_light_in_model( ctx, !state ); break; case GL_LIGHT0: |