aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-03 10:08:20 -0600
committerBrian Paul <[email protected]>2009-04-03 10:09:28 -0600
commit7391ba1e9d81f15465059db25d1279eefdbeb1a9 (patch)
tree1dfac07d6d676a6a1618bb3cb80d53d5ab123d56 /src/mesa/main/attrib.c
parent650d147289014e8a98f65fbbcd1855b2a4f19d2f (diff)
mesa: rename some gl_light fields to be clearer
EyeDirection -> SpotDirection _NormDirection -> _NormSpotDirection
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index 1d2c4604884..d5d0a552dbf 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1104,7 +1104,7 @@ _mesa_PopAttrib(void)
_mesa_light(ctx, i, GL_DIFFUSE, l->Diffuse);
_mesa_light(ctx, i, GL_SPECULAR, l->Specular );
_mesa_light(ctx, i, GL_POSITION, l->EyePosition);
- _mesa_light(ctx, i, GL_SPOT_DIRECTION, l->EyeDirection);
+ _mesa_light(ctx, i, GL_SPOT_DIRECTION, l->SpotDirection);
_mesa_light(ctx, i, GL_SPOT_EXPONENT, &l->SpotExponent);
_mesa_light(ctx, i, GL_SPOT_CUTOFF, &l->SpotCutoff);
_mesa_light(ctx, i, GL_CONSTANT_ATTENUATION,