aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/light.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-03-13 08:31:21 +0100
committermarha <marha@users.sourceforge.net>2012-03-13 08:31:21 +0100
commitfc72edebf875378459368c5383d9023730cbca54 (patch)
treeb34159309efdc9a43ebe4a32108e5c3ac051a05e /mesalib/src/mesa/main/light.c
parent41bd254198b8b879a562a85f7dc868c3c0f7fbc1 (diff)
downloadvcxsrv-fc72edebf875378459368c5383d9023730cbca54.tar.gz
vcxsrv-fc72edebf875378459368c5383d9023730cbca54.tar.bz2
vcxsrv-fc72edebf875378459368c5383d9023730cbca54.zip
fontconfig mesa git update 13 Mar 2012
Diffstat (limited to 'mesalib/src/mesa/main/light.c')
-rw-r--r--mesalib/src/mesa/main/light.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mesalib/src/mesa/main/light.c b/mesalib/src/mesa/main/light.c
index 962a3e689..7bc22e2fa 100644
--- a/mesalib/src/mesa/main/light.c
+++ b/mesalib/src/mesa/main/light.c
@@ -54,10 +54,6 @@ _mesa_ShadeModel( GLenum mode )
FLUSH_VERTICES(ctx, _NEW_LIGHT);
ctx->Light.ShadeModel = mode;
- if (mode == GL_FLAT)
- ctx->_TriangleCaps |= DD_FLATSHADE;
- else
- ctx->_TriangleCaps &= ~DD_FLATSHADE;
if (ctx->Driver.ShadeModel)
ctx->Driver.ShadeModel( ctx, mode );