summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-05-27 10:35:33 +0100
committerKeith Whitwell <[email protected]>2008-05-27 10:35:33 +0100
commit2109ddafefde26dd20a1c6a25f594984143944a3 (patch)
tree777dfb20608f2a67c30b827068c494766782862b /src/mesa/main/light.c
parentdc1537bc25c7cbff0a41034ece0830146616f036 (diff)
ffvertex: emit full LIT when attenuating (needs the 1 in X position)
Diffstat (limited to 'src/mesa/main/light.c')
-rw-r--r--src/mesa/main/light.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c
index 6e057614bad..0af647e13c0 100644
--- a/src/mesa/main/light.c
+++ b/src/mesa/main/light.c
@@ -1357,6 +1357,7 @@ _mesa_init_lighting( GLcontext *ctx )
/* Miscellaneous */
ctx->Light._NeedEyeCoords = GL_FALSE;
ctx->_NeedEyeCoords = GL_FALSE;
+ ctx->_ForceEyeCoords = GL_TRUE;
ctx->_ModelViewInvScale = 1.0;
}