summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/polygon.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2000-11-05 18:40:57 +0000
committerKeith Whitwell <[email protected]>2000-11-05 18:40:57 +0000
commit14940c4ffe066a8b85bc14274c19ad3d8e334d61 (patch)
treef131b862b3215f81e638100c86736330c0dd592b /src/mesa/main/polygon.c
parent1e885f6e6ce9c46c3220eb0472bdfe2aa7946596 (diff)
- 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 '_'.
Diffstat (limited to 'src/mesa/main/polygon.c')
-rw-r--r--src/mesa/main/polygon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c
index b4a7172dbd5..125804196ac 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;