diff options
author | Nian Wu <nian.wu@intel.com> | 2007-03-12 09:03:27 +0800 |
---|---|---|
committer | Nian Wu <nian.wu@intel.com> | 2007-03-12 09:03:27 +0800 |
commit | 5a5b55943dfdb7fac77f7556058791302ee8639b (patch) | |
tree | 7bcaea81b25884b6e6516d1df47f671247964276 /src/mesa/main/rastpos.c | |
parent | 1e055089a37bca8bc5e1cec37d5559fcdb0cf21f (diff) | |
parent | 61ec23cc63a040a2edf1bc466917e85362514c89 (diff) |
Merge git://proxy01.pd.intel.com:9419/git/mesa/mesa into crestline
Diffstat (limited to 'src/mesa/main/rastpos.c')
-rw-r--r-- | src/mesa/main/rastpos.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c index d4f0fa2a71..4a0c24fdbc 100644 --- a/src/mesa/main/rastpos.c +++ b/src/mesa/main/rastpos.c @@ -133,8 +133,7 @@ shade_rastpos(GLcontext *ctx, GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ GLfloat diffuseCI = 0.0, specularCI = 0.0; /* for CI mode only */ - if (!ctx->_ShineTable[0] || !ctx->_ShineTable[1]) - _mesa_validate_all_lighting_tables( ctx ); + _mesa_validate_all_lighting_tables( ctx ); COPY_3V(diffuseColor, base[0]); diffuseColor[3] = CLAMP( |