diff options
author | Brian <[email protected]> | 2007-04-21 15:56:10 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-04-21 15:56:10 -0600 |
commit | 112e1f2b5ab86626eb9b3de9075e9f165a397e7b (patch) | |
tree | 96a46aed07cea45263554fde83300666f147ce83 /src/mesa/main/rastpos.c | |
parent | e5cf37c1786057252a4db28d4ae75bd24a0e020b (diff) |
specularColor.alpha should default to 1, not 0
Diffstat (limited to 'src/mesa/main/rastpos.c')
-rw-r--r-- | src/mesa/main/rastpos.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |