summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-08-20 12:57:21 -0700
committerKenneth Graunke <[email protected]>2010-08-20 13:01:12 -0700
commitd6cc7191daa249463b20e2965dc1006288539b1e (patch)
tree61822097a56d6d02dd447c736961ddceea37529d
parentc3e3793c325e36366165a5d1403a8c406ff200db (diff)
glsl: Remove bogus "ambient" field from vec4 gl_TextureEnvColor.
-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,