diff options
author | Ian Romanick <[email protected]> | 2011-04-21 17:36:17 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-04-25 18:27:17 -0700 |
commit | cd354b4eb84839837a9349bd91e89b55d06e5837 (patch) | |
tree | ad5953a4e52a658c6fb184dc67fc45a8fd749d24 /src/mesa/swrast/s_fog.c | |
parent | f274dfaca4b53bae92dfe6a72c1890c381d84746 (diff) |
mesa: Remove SWcontext::_FogMode, use gl_context::gl_fog_attrib::Mode everywhere
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_fog.c')
-rw-r--r-- | src/mesa/swrast/s_fog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fog.c b/src/mesa/swrast/s_fog.c index d808e2b2a2b..ea59de16020 100644 --- a/src/mesa/swrast/s_fog.c +++ b/src/mesa/swrast/s_fog.c @@ -158,7 +158,7 @@ _swrast_fog_rgba_span( const struct gl_context *ctx, SWspan *span ) /* The span's fog values are fog coordinates, now compute blend factors * and blend the fragment colors with the fog color. */ - switch (swrast->_FogMode) { + switch (ctx->Fog.Mode) { case GL_LINEAR: { const GLfloat fogEnd = ctx->Fog.End; |