diff options
author | Kenneth Graunke <[email protected]> | 2011-10-17 16:41:57 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-10-25 16:25:39 -0700 |
commit | 7a86bf816c3eb977a5d7e558e85f00f8f2b9868a (patch) | |
tree | 99dc18f9053c32d8feb2f4bf593e73aedd5a7545 /configs/sunos5-64-gcc | |
parent | 00ddc7ea47fdae09ca154d8b3a15c6f9a4926d68 (diff) |
mesa: Remove unnecessary and incorrect TexEnv parameter validation.
For GL_RGB_SCALE and GL_ALPHA_SCALE targets, the API wrapper code
attempts to ensure the parameter is 1.0, 2.0, or 4.0.
This is unnecessary: set_combiner_scale in texenv.c (called by
_mesa_TexEnvfv) already checks this and raises an appropriate error.
It's also incorrect: For glTexEnvx, the API validation code directly
compares the GLfixed input parameter with a floating point constant,
prior to converting fixed-point to floating point.
Fixes an issue in the OpenGL ES 1.1 conformance suite.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'configs/sunos5-64-gcc')
0 files changed, 0 insertions, 0 deletions