-/* $Id: context.c,v 1.3 1999/08/29 10:26:31 keithw Exp $ */
+/* $Id: context.c,v 1.4 1999/09/02 13:16:17 keithw Exp $ */
/*
* Mesa 3-D graphics library
if (ctx->NewState & (NEW_POLYGON | NEW_LIGHTING)) {
+ ctx->TriangleCaps &= ~DD_TRI_CULL_FRONT_BACK;
if (ctx->NewState & NEW_POLYGON) {
/* Setup CullBits bitmask */
default:
case GL_FRONT_AND_BACK:
ctx->backface_sign = 0;
- ctx->Polygon.CullBits = 3;
+ ctx->Polygon.CullBits = 0;
+ ctx->TriangleCaps |= DD_TRI_CULL_FRONT_BACK;
break;
}
}