summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/program/ir_to_mesa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 58324944fe8..9fdeaa9be34 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -1098,7 +1098,7 @@ static const struct {
{"gl_BackLightProduct", "specular",
{STATE_LIGHTPROD, 0, 1, STATE_SPECULAR}, SWIZZLE_XYZW, true},
- {"gl_TextureEnvColor", "ambient",
+ {"gl_TextureEnvColor", NULL,
{STATE_TEXENV_COLOR, 0}, SWIZZLE_XYZW, true},
{"gl_EyePlaneS", NULL,