From: Brian Date: Sat, 21 Apr 2007 21:56:10 +0000 (-0600) Subject: specularColor.alpha should default to 1, not 0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=112e1f2b5ab86626eb9b3de9075e9f165a397e7b;p=mesa.git specularColor.alpha should default to 1, not 0 --- diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c index 4a0c24fdbcc..2d71014a187 100644 --- a/src/mesa/main/rastpos.c +++ b/src/mesa/main/rastpos.c @@ -138,7 +138,7 @@ shade_rastpos(GLcontext *ctx, COPY_3V(diffuseColor, base[0]); diffuseColor[3] = CLAMP( ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3], 0.0F, 1.0F ); - ASSIGN_4V(specularColor, 0.0, 0.0, 0.0, 0.0); + ASSIGN_4V(specularColor, 0.0, 0.0, 0.0, 1.0); foreach (light, &ctx->Light.EnabledList) { GLfloat attenuation = 1.0;