From babe20b9d188ed94a5ecab30d829dd3f4ad728b5 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 12 Oct 2010 15:29:43 -0700 Subject: [PATCH] mesa: Silence unused variable warning --- src/mesa/main/context.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.30.2