glsl: add missing ambient field to gl_LightModel

Again, this is a one-element struct that was incorrectly missing the
field.
This commit is contained in:
Luca Barbieri
2010-08-18 12:52:57 +02:00
committed by Kenneth Graunke
parent fc76d72763
commit c3e3793c32
+1 -1
View File
@@ -1076,7 +1076,7 @@ static const struct {
{"gl_LightSource", "quadraticAttenuation",
{STATE_LIGHT, 0, STATE_ATTENUATION}, SWIZZLE_ZZZZ, true},
{"gl_LightModel", NULL,
{"gl_LightModel", "ambient",
{STATE_LIGHTMODEL_AMBIENT, 0}, SWIZZLE_XYZW, false},
{"gl_FrontLightModelProduct", "sceneColor",