diff options
author | Eric Anholt <[email protected]> | 2004-07-04 20:49:04 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2004-07-04 20:49:04 +0000 |
commit | 3e77737955104879ca8747f82bdd5fd5b0169cc1 (patch) | |
tree | 3f623db94d663f740cc3824b15415c3ee4eef382 /src/mesa/drivers/dri | |
parent | aaebfc88c08c79cd70f1e0d1d262a25e9ded47d1 (diff) |
Bugzilla #755: Fix polygon offset by setting DEPTH_SCALE to depth_scale instead
of 1.0.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/r128/r128_tris.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |