diff options
author | Luca Barbieri <[email protected]> | 2010-08-18 12:52:57 +0200 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-08-20 13:01:09 -0700 |
commit | c3e3793c325e36366165a5d1403a8c406ff200db (patch) | |
tree | cc7e8e23d979ce0cd9bf4d180bbe184c2aec6f6b | |
parent | fc76d7276393a4617f9898214bc397bb65634b02 (diff) |
glsl: add missing ambient field to gl_LightModel
Again, this is a one-element struct that was incorrectly missing the
field.
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 2 |
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 fe2d8982d0b..58324944fe8 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -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", |