Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead
authorEric Anholt <anholt@FreeBSD.org>
Sun, 4 Jul 2004 20:49:04 +0000 (20:49 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Sun, 4 Jul 2004 20:49:04 +0000 (20:49 +0000)
of 1.0.

src/mesa/drivers/dri/r128/r128_tris.c

index d3dfb3b..57ed56d 100644 (file)
@@ -224,7 +224,7 @@ static struct {
 #define VERTEX r128Vertex
 #define TAB rast_tab
 
-#define DEPTH_SCALE 1.0
+#define DEPTH_SCALE rmesa->depth_scale
 #define UNFILLED_TRI unfilled_tri
 #define UNFILLED_QUAD unfilled_quad
 #define VERT_X(_v) _v->v.x