mesa/src
Kenneth Graunke 7a86bf816c 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 <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-10-25 16:25:39 -07:00
..
egl configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles. 2011-10-04 11:19:48 -07:00
gallium st/glx: Implement texture_from_pixmap without DRI. 2011-10-25 14:35:46 -07:00
gbm gbm/dri: avoid crash in dri_screen_create 2011-08-04 14:09:34 +02:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: Fix gl_NormalMatrix swizzle setup to match i965's invariants. 2011-10-24 13:43:02 -07:00
glu glu: Avoid defining conflicting DEBUG NDEBUG macros. 2011-08-30 09:42:01 +01:00
glx apple: Implement applegl_unbind_context 2011-10-24 16:21:28 -07:00
mapi glapi: Enclose glapi.h in an extern "C" block when included by C++. 2011-10-04 15:11:42 -07:00
mesa mesa: Remove unnecessary and incorrect TexEnv parameter validation. 2011-10-25 16:25:39 -07:00
Makefile
SConscript scons: Unbreak mingw build. 2011-09-20 20:50:48 +01:00