diff options
author | Brian Paul <[email protected]> | 2013-04-17 11:58:33 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-04-17 11:59:42 -0600 |
commit | cbbcb0247e6aa8d7adc274a94206ee02f9c70bea (patch) | |
tree | 368c41d00e04bdd4e021acee570257f06e873ddd /src/mesa/main/light.c | |
parent | c9bb052e31b7952272e60d28969e90eafb6b3e1f (diff) |
mesa: remove DD_TRI_LIGHT_TWOSIDE flag
v2: use conditional operator instead of bit shifting
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/light.c')
-rw-r--r-- | src/mesa/main/light.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index c694bebe69b..41773d83c21 100644 --- a/src/mesa/main/light.c +++ b/src/mesa/main/light.c @@ -474,10 +474,6 @@ _mesa_LightModelfv( GLenum pname, const GLfloat *params ) return; FLUSH_VERTICES(ctx, _NEW_LIGHT); ctx->Light.Model.TwoSide = newbool; - if (ctx->Light.Enabled && ctx->Light.Model.TwoSide) - ctx->_TriangleCaps |= DD_TRI_LIGHT_TWOSIDE; - else - ctx->_TriangleCaps &= ~DD_TRI_LIGHT_TWOSIDE; break; case GL_LIGHT_MODEL_COLOR_CONTROL: if (ctx->API != API_OPENGL_COMPAT) |