From bfa023921c9d1aa872237e0ac6085160f7c2cbc5 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 8 Jan 2001 17:42:13 +0000 Subject: [PATCH] Still need 'DD_TRI_CULL_FRONT_BACK' --- src/mesa/main/state.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 43e4872..e6513eb 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; -- 2.7.4