summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-09-23 14:41:02 +0000
committerBrian Paul <[email protected]>2003-09-23 14:41:02 +0000
commitd01681d6c9dbbc42d74b35ce96b3723ffdb944cd (patch)
tree35bd8ab7ebb8efb76f79e6f87e17d4507170f621 /src/mesa/drivers
parentd11bb2b297a69878a50bf135e9d1f96ce6d3d65d (diff)
remove a _TriangleCaps reference
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/glide/fxtris.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxtris.c b/src/mesa/drivers/glide/fxtris.c
index cf5ffef45d8..9a88e58c475 100644
--- a/src/mesa/drivers/glide/fxtris.c
+++ b/src/mesa/drivers/glide/fxtris.c
@@ -1,4 +1,4 @@
-/* $Id: fxtris.c,v 1.22 2003/06/16 14:30:57 brianp Exp $ */
+/* $Id: fxtris.c,v 1.23 2003/09/23 14:41:02 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -746,8 +746,7 @@ static void fxRasterPrimitive( GLcontext *ctx, GLenum prim )
-/* Determine the rasterized primitive when not drawing unfilled
- * polygons.
+/* Determine the rasterized primitive when drawing filled polygons.
*/
static void fxRenderPrimitive( GLcontext *ctx, GLenum prim )
{
@@ -756,7 +755,9 @@ static void fxRenderPrimitive( GLcontext *ctx, GLenum prim )
fxMesa->render_primitive = prim;
- if (rprim == GL_TRIANGLES && (ctx->_TriangleCaps & DD_TRI_UNFILLED))
+ if (rprim == GL_TRIANGLES &&
+ (ctx->Polygon.FrontMode != GL_FILL ||
+ ctx->Polygon.BackMode != GL_FILL))
return;
if (fxMesa->raster_primitive != rprim) {