Performance fix for unfilled triangles on mga and i810 hardware.
authorKeith Whitwell <keith@tungstengraphics.com>
Sat, 24 Jun 2000 11:57:35 +0000 (11:57 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Sat, 24 Jun 2000 11:57:35 +0000 (11:57 +0000)
src/mesa/main/state.c

index b64eaa623eb59b6d0be451f3ff64e0ef1feea989..64d833a76bad243b40dc01098cf130cacce860f3 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: state.c,v 1.17 2000/06/23 20:28:30 brianp Exp $ */
+/* $Id: state.c,v 1.18 2000/06/24 11:57:35 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -1063,11 +1063,6 @@ void gl_update_state( GLcontext *ctx )
             ctx->Polygon.OffsetLine ||
             ctx->Polygon.OffsetFill)
            ctx->TriangleCaps |= DD_TRI_OFFSET;
-
-        /* reset Z offsets now */
-        ctx->PointZoffset   = 0.0;
-        ctx->LineZoffset    = 0.0;
-        ctx->PolygonZoffset = 0.0;
       }
    }