From 14940c4ffe066a8b85bc14274c19ad3d8e334d61 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sun, 5 Nov 2000 18:40:57 +0000 Subject: - Changes for new software rasterizer modules - Remove support for choosing software fallbacks from core code - Remove partial fallback code from vbrender.c -- drivers are now expected to be able to find a triangle/quad function for every state, even if they have to use _swsetup_Triangle or _swsetup_Quad. - Marked derived variables in the GLcontext struct with a leading underscore '_'. --- src/mesa/main/polygon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/polygon.c') diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c index b4a7172..1258041 100644 --- a/src/mesa/main/polygon.c +++ b/src/mesa/main/polygon.c @@ -1,4 +1,4 @@ -/* $Id: polygon.c,v 1.14 2000/10/30 13:32:01 keithw Exp $ */ +/* $Id: polygon.c,v 1.15 2000/11/05 18:40:58 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -115,12 +115,12 @@ _mesa_PolygonMode( GLenum face, GLenum mode ) } /* Compute a handy "shortcut" value: */ - ctx->TriangleCaps &= ~DD_TRI_UNFILLED; - ctx->Polygon.Unfilled = GL_FALSE; + ctx->_TriangleCaps &= ~DD_TRI_UNFILLED; + ctx->Polygon._Unfilled = GL_FALSE; if (ctx->Polygon.FrontMode!=GL_FILL || ctx->Polygon.BackMode!=GL_FILL) { - ctx->Polygon.Unfilled = GL_TRUE; - ctx->TriangleCaps |= DD_TRI_UNFILLED; + ctx->Polygon._Unfilled = GL_TRUE; + ctx->_TriangleCaps |= DD_TRI_UNFILLED; } ctx->NewState |= _NEW_POLYGON; -- cgit v1.1