diff options
author | Brian Paul <[email protected]> | 2004-10-13 15:54:48 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-10-13 15:54:48 +0000 |
commit | dfe508ca7af1a6d1099cd65e257512ed1e17d893 (patch) | |
tree | 1393d22cefdabb68c1b35bb24c108edd76b8abf9 /src/mesa/swrast/s_context.h | |
parent | 886df0926fe6b3d8f82cff62747abfdb95540aa0 (diff) |
Fix minor fog / fragment program state bug.
Don't add diffuse and specular colors when using fragment program.
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r-- | src/mesa/swrast/s_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index ea877a4bd25..aba32755d15 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -286,6 +286,7 @@ typedef struct GLboolean _AnyTextureCombine; GLchan _FogColor[3]; GLboolean _FogEnabled; + GLenum _FogMode; /* either GL_FOG_MODE or fragment program's fog mode */ /* Accum buffer temporaries. */ |