mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 01:18:06 +02:00
fudge set_component_sizes() a bit, see comments
This commit is contained in:
parent
acafeeb6dc
commit
05aed23d1b
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue