From: Kenneth Graunke Date: Fri, 20 Aug 2010 19:57:21 +0000 (-0700) Subject: glsl: Remove bogus "ambient" field from vec4 gl_TextureEnvColor. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6cc7191daa249463b20e2965dc1006288539b1e;p=mesa.git glsl: Remove bogus "ambient" field from vec4 gl_TextureEnvColor. --- 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,