glsl: Remove bogus "ambient" field from vec4 gl_TextureEnvColor.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 20 Aug 2010 19:57:21 +0000 (12:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 20 Aug 2010 20:01:12 +0000 (13:01 -0700)
src/mesa/program/ir_to_mesa.cpp

index 58324944fe82f43ca7267bf44e9e2ef12b51e3de..9fdeaa9be3422b1e145235dbe411890634c46e20 100644 (file)
@@ -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,