summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/r300/r300_tex.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.c b/src/mesa/drivers/dri/r300/r300_tex.c
index 0d51d6da37..4f84dacc41 100644
--- a/src/mesa/drivers/dri/r300/r300_tex.c
+++ b/src/mesa/drivers/dri/r300/r300_tex.c
@@ -932,21 +932,6 @@ static void r300TexEnv(GLcontext * ctx, GLenum target,
* between them according to _ReallyEnabled.
*/
switch (pname) {
- case GL_TEXTURE_ENV_COLOR:{
- WARN_ONCE("I am broken - Fixme !\n");
- /*
- GLubyte c[4];
- GLuint envColor;
- UNCLAMPED_FLOAT_TO_RGBA_CHAN(c, texUnit->EnvColor);
- envColor = radeonPackColor(4, c[0], c[1], c[2], c[3]);
- if (rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] != envColor) {
- R200_STATECHANGE(rmesa, tf);
- rmesa->hw.tf.cmd[TF_TFACTOR_0 + unit] =
- envColor;
- }*/
- break;
- }
-
case GL_TEXTURE_LOD_BIAS_EXT:{
GLfloat bias, min;
GLuint b;