From f1d6b384415a083c358d3824e77f3d434f08bfcc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 16 Dec 2000 00:19:12 +0000 Subject: Polygon._OffsetAny wasn't being computed --- src/mesa/main/state.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3