projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acafeeb
)
fudge set_component_sizes() a bit, see comments
author
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 3 Sep 2005 17:33:16 +0000
(17:33 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Sat, 3 Sep 2005 17:33:16 +0000
(17:33 +0000)
src/mesa/main/colortab.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/colortab.c
b/src/mesa/main/colortab.c
index 2cd1094fb34f3993685daf27d1fa644a94dd2540..4f0801578ce433415c1492f6baa5b3af4caa95e7 100644
(file)
--- a/
src/mesa/main/colortab.c
+++ b/
src/mesa/main/colortab.c
@@
-108,7
+108,11
@@
set_component_sizes( struct gl_color_table *table )
sz = 8 * sizeof(GLushort);
break;
case GL_FLOAT:
- sz = 8 * sizeof(GLfloat);
+ /* Don't actually return 32 here since that causes the conformance
+ * tests to blow up. Conform thinks the component is an integer,
+ * not a float.
+ */
+ sz = 8; /** 8 * sizeof(GLfloat); **/
break;
default:
_mesa_problem(NULL, "bad color table type in set_component_sizes 0x%x", table->Type);