projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e9f6f1
)
fix fd.o bug #13761
author
Zou Nan hai
<nanhai.zou@intel.com>
Thu, 3 Jan 2008 08:05:27 +0000
(16:05 +0800)
committer
Zou Nan hai
<nanhai.zou@intel.com>
Thu, 3 Jan 2008 08:05:27 +0000
(16:05 +0800)
MRD computation is now changed in mesa core
src/mesa/drivers/dri/i915/intel_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/intel_context.c
b/src/mesa/drivers/dri/i915/intel_context.c
index f407f7ec4750b1b12bfbf4a7ef8b2aba63e71d2a..99ea37d2275fbfb89b497120051c558d01ec1f79 100644
(file)
--- 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);