mesa: Silence unused variable warning
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 12 Oct 2010 22:29:43 +0000 (15:29 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 13 Oct 2010 22:30:20 +0000 (15:30 -0700)
src/mesa/main/context.c

index 41f30cae43cba3782cfb18d0b98193479c7c31d8..e7d8146f749bfeedac62da76b3b978f22c743f2f 100644 (file)
@@ -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) {