From: Keith Whitwell Date: Mon, 8 Jan 2001 17:42:13 +0000 (+0000) Subject: Still need 'DD_TRI_CULL_FRONT_BACK' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bfa023921c9d1aa872237e0ac6085160f7c2cbc5;p=mesa.git Still need 'DD_TRI_CULL_FRONT_BACK' --- 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;