diff options
author | Brian Paul <[email protected]> | 2002-10-02 21:44:08 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-10-02 21:44:08 +0000 |
commit | 641b2307ec77e70a5b1db75934438d2fbb75613c (patch) | |
tree | 3f3a5ecbf42e961cc632334d6d1671f989a35a9e /src/mesa/swrast_setup | |
parent | 8420ad94f28532a736f99607fb274466506b3bca (diff) |
removed ctx->Polygon._OffsetAny - not really needed
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r-- | src/mesa/swrast_setup/ss_triangle.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/swrast_setup/ss_triangle.c b/src/mesa/swrast_setup/ss_triangle.c index 7612a64d06f..159dc799efc 100644 --- a/src/mesa/swrast_setup/ss_triangle.c +++ b/src/mesa/swrast_setup/ss_triangle.c @@ -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) |