From: Ian Romanick Date: Tue, 12 Oct 2010 22:29:43 +0000 (-0700) Subject: mesa: Silence unused variable warning X-Git-Tag: 062012170305~9444^2~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=babe20b9d188ed94a5ecab30d829dd3f4ad728b5;p=profile%2Fivi%2Fmesa.git mesa: Silence unused variable warning --- diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 41f30ca..e7d8146 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) {