removed ctx->Polygon._OffsetAny - not really needed

This commit is contained in:
Brian Paul
2002-10-02 21:44:08 +00:00
parent 8420ad94f2
commit 641b2307ec
3 changed files with 12 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: ss_triangle.c,v 1.15 2001/07/17 19:39:32 keithw Exp $ */
/* $Id: ss_triangle.c,v 1.16 2002/10/02 21:44:08 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -265,7 +265,9 @@ void _swsetup_choose_trifuncs( GLcontext *ctx )
TNLcontext *tnl = TNL_CONTEXT(ctx);
GLuint ind = 0;
if (ctx->Polygon._OffsetAny)
if (ctx->Polygon.OffsetPoint ||
ctx->Polygon.OffsetLine ||
ctx->Polygon.OffsetFill)
ind |= SS_OFFSET_BIT;
if (ctx->Light.Enabled && ctx->Light.Model.TwoSide)