summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2001-01-08 17:42:13 +0000
committerKeith Whitwell <[email protected]>2001-01-08 17:42:13 +0000
commitbfa023921c9d1aa872237e0ac6085160f7c2cbc5 (patch)
tree8ccfafe8905cadcd425193d5ff1bbc6747ffce8c /src/mesa/main/state.c
parentd7fc376de870c7304d1a7d08be5616784ec9ac3e (diff)
Still need 'DD_TRI_CULL_FRONT_BACK'
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index 43e4872d66f..e6513eb9f93 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -1,4 +1,4 @@
-/* $Id: state.c,v 1.53 2000/12/26 05:09:29 keithw Exp $ */
+/* $Id: state.c,v 1.54 2001/01/08 17:42:13 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -501,8 +501,8 @@ update_polygon( GLcontext *ctx )
{
ctx->_TriangleCaps &= ~(DD_TRI_CULL_FRONT_BACK | DD_TRI_OFFSET);
-/* if (ctx->Polygon.CullFlag && ctx->Polygon.CullFaceMode == GL_FRONT_AND_BACK) */
-/* ctx->_TriangleCaps |= DD_TRI_CULL_FRONT_BACK; */
+ if (ctx->Polygon.CullFlag && ctx->Polygon.CullFaceMode == GL_FRONT_AND_BACK)
+ ctx->_TriangleCaps |= DD_TRI_CULL_FRONT_BACK;
/* Any Polygon offsets enabled? */
ctx->Polygon._OffsetAny = GL_FALSE;