From 3e77737955104879ca8747f82bdd5fd5b0169cc1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sun, 4 Jul 2004 20:49:04 +0000 Subject: [PATCH] Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead of 1.0. --- src/mesa/drivers/dri/r128/r128_tris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/r128/r128_tris.c b/src/mesa/drivers/dri/r128/r128_tris.c index d3dfb3b..57ed56d 100644 --- a/src/mesa/drivers/dri/r128/r128_tris.c +++ b/src/mesa/drivers/dri/r128/r128_tris.c @@ -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 -- 2.7.4