diff options
author | Brian Paul <[email protected]> | 2015-02-23 17:48:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-02-24 14:44:19 -0700 |
commit | a55831e8fabf3e53802a45d8bd74dbb1986f9754 (patch) | |
tree | 0e88d3719554223a1d7e8b1f4644d1086cfbe08d /src/mesa/swrast/s_context.c | |
parent | 1180e61a1bb52d8fdf99185ca2c3042e7f686594 (diff) |
swrast: fix a few release build warnings
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r-- | src/mesa/swrast/s_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index cc7d9b37dc6..51cc2276059 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -251,6 +251,7 @@ _swrast_update_fog_state( struct gl_context *ctx ) const struct gl_fragment_program *fp = ctx->FragmentProgram._Current; assert(fp == NULL || fp->Base.Target == GL_FRAGMENT_PROGRAM_ARB); + (void) fp; /* silence unused var warning */ /* determine if fog is needed, and if so, which fog mode */ swrast->_FogEnabled = (!_swrast_use_fragment_program(ctx) && |