diff options
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r-- | src/mesa/main/state.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 9ef01d4b54f..e5ca69ea614 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -1,4 +1,4 @@ -/* $Id: state.c,v 1.51 2000/12/08 00:20:15 brianp Exp $ */ +/* $Id: state.c,v 1.52 2000/12/16 00:19:12 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -524,12 +524,15 @@ update_polygon( GLcontext *ctx ) } /* Any Polygon offsets enabled? */ + ctx->Polygon._OffsetAny = GL_FALSE; ctx->_TriangleCaps &= ~DD_TRI_OFFSET; if (ctx->Polygon.OffsetPoint || ctx->Polygon.OffsetLine || - ctx->Polygon.OffsetFill) + ctx->Polygon.OffsetFill) { ctx->_TriangleCaps |= DD_TRI_OFFSET; + ctx->Polygon._OffsetAny = GL_TRUE; + } } static void |