summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-10-12 15:29:43 -0700
committerIan Romanick <[email protected]>2010-10-13 15:30:20 -0700
commitbabe20b9d188ed94a5ecab30d829dd3f4ad728b5 (patch)
tree073a23bc74c99b6802af9fe4ffb30489d401ecbb
parent4a45595cf3d6a238bb4d528d30139392618b39df (diff)
mesa: Silence unused variable warning
-rw-r--r--src/mesa/main/context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 41f30cae43c..e7d8146f749 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1753,6 +1753,7 @@ _mesa_valid_to_render(struct gl_context *ctx, const char *where)
/* FINISHME: If GL_NV_geometry_program4 is ever supported, the current
* FINISHME: geometry program should validated here.
*/
+ (void) geom_from_glsl_shader;
if (!frag_from_glsl_shader
&& ctx->FragmentProgram.Enabled && !ctx->FragmentProgram._Enabled) {