diff options
author | Zou Nan hai <[email protected]> | 2008-01-03 16:05:27 +0800 |
---|---|---|
committer | Zou Nan hai <[email protected]> | 2008-01-03 16:05:27 +0800 |
commit | 15653b5d88c0f88f49c2d5497b4fb9e045f53560 (patch) | |
tree | 8d017d5e5879bd61c8da8c953c0cf53529484d3d /src/mesa | |
parent | 9e9f6f105c81436cecfe55a8a80d2efe45bc0d72 (diff) |
fix fd.o bug #13761
MRD computation is now changed in mesa core
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index f407f7ec475..99ea37d2275 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -486,10 +486,10 @@ intelInitContext(struct intel_context *intel, switch (mesaVis->depthBits) { case 0: /* what to do in this case? */ case 16: - intel->polygon_offset_scale = 1.0 / 0xffff; + intel->polygon_offset_scale = 1.0; break; case 24: - intel->polygon_offset_scale = 2.0 / 0xffffff; /* req'd to pass glean */ + intel->polygon_offset_scale = 2.0; /* req'd to pass glean */ break; default: assert(0); |