summaryrefslogtreecommitdiff
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2000-06-24 11:57:35 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2000-06-24 11:57:35 +0000
commitdaf3778e86dce7c52fbf4db48f62e3e80ed73815 (patch)
tree7abe37f1aee9179b4a9996747623f79ae74095a8 /src/mesa/main/state.c
parent39103d2e20d998fe05e23a0d9332155fb865afe3 (diff)
Performance fix for unfilled triangles on mga and i810 hardware.
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index b64eaa623e..64d833a76b 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -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;
}
}