projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a45595
)
mesa: Silence unused variable warning
author
Ian Romanick
<ian.d.romanick@intel.com>
Tue, 12 Oct 2010 22:29:43 +0000
(15:29 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 13 Oct 2010 22:30:20 +0000
(15:30 -0700)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 41f30cae43cba3782cfb18d0b98193479c7c31d8..e7d8146f749bfeedac62da76b3b978f22c743f2f 100644
(file)
--- 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) {