Mesa (master): mesa: Silence unused variable warning
Ian Romanick
idr at kemper.freedesktop.org
Wed Oct 13 22:49:06 UTC 2010
Module: Mesa
Branch: master
Commit: babe20b9d188ed94a5ecab30d829dd3f4ad728b5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=babe20b9d188ed94a5ecab30d829dd3f4ad728b5
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Oct 12 15:29:43 2010 -0700
mesa: Silence unused variable warning
---
src/mesa/main/context.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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) {
More information about the mesa-commit
mailing list