diff options
author | Keith Whitwell <[email protected]> | 2001-01-08 17:42:13 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-01-08 17:42:13 +0000 |
commit | bfa023921c9d1aa872237e0ac6085160f7c2cbc5 (patch) | |
tree | 8ccfafe8905cadcd425193d5ff1bbc6747ffce8c | |
parent | d7fc376de870c7304d1a7d08be5616784ec9ac3e (diff) |
Still need 'DD_TRI_CULL_FRONT_BACK'
-rw-r--r-- | src/mesa/main/state.c | 6 |
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; |