diff options
Diffstat (limited to 'src/mesa/main/rastpos.c')
-rw-r--r-- | src/mesa/main/rastpos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c index 63f4e5aa49e..9f6a49330d6 100644 --- a/src/mesa/main/rastpos.c +++ b/src/mesa/main/rastpos.c @@ -1,4 +1,4 @@ -/* $Id: rastpos.c,v 1.15 2000/11/22 07:32:17 joukj Exp $ */ +/* $Id: rastpos.c,v 1.16 2000/11/24 10:25:05 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -168,7 +168,7 @@ static void gl_shade_rastpos( GLcontext *ctx, ACC_SCALE_SCALAR_3V(contrib, n_dot_VP, light->_MatDiffuse[0]); diffuse += n_dot_VP * light->_dli * attenuation; - if (light->_IsMatSpecular[0]) { + { if (ctx->Light.Model.LocalViewer) { GLfloat v[3]; COPY_3V(v, vertex); |