From: Eric Anholt Date: Sun, 4 Jul 2004 20:49:04 +0000 (+0000) Subject: Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e77737955104879ca8747f82bdd5fd5b0169cc1;p=mesa.git Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead of 1.0. --- diff --git a/src/mesa/drivers/dri/r128/r128_tris.c b/src/mesa/drivers/dri/r128/r128_tris.c index d3dfb3b1174..57ed56d535c 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