diff options
author | Brian Paul <[email protected]> | 2003-11-21 16:38:56 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-11-21 16:38:56 +0000 |
commit | ba254c08c0fa896ac425961c7900b99775979e16 (patch) | |
tree | ba4c4cfb18f34c52c50423c13f70dc56f853350d /src/mesa/main/arbvertparse.c | |
parent | 663a9e1b7ef7b8384abe2f81e1a8749b942f6d3a (diff) |
fix a bunch of warnings
Diffstat (limited to 'src/mesa/main/arbvertparse.c')
-rw-r--r-- | src/mesa/main/arbvertparse.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/arbvertparse.c b/src/mesa/main/arbvertparse.c index 0df17f370af..7a6fc6e7dbb 100644 --- a/src/mesa/main/arbvertparse.c +++ b/src/mesa/main/arbvertparse.c @@ -32,6 +32,7 @@ #include "glheader.h" #include "context.h" +#include "arbvertparse.h" #include "hash.h" #include "imports.h" #include "macros.h" @@ -175,7 +176,7 @@ _mesa_parse_arb_vertex_program(GLcontext * ctx, GLenum target, GLuint retval; struct arb_program ap; - retval = _mesa_parse_arb_program(ctx, str, len, &ap); + retval = _mesa_parse_arb_program(ctx, str, len, &ap); /* XXX: Parse error. Cleanup things and return */ if (retval) @@ -191,6 +192,8 @@ _mesa_parse_arb_vertex_program(GLcontext * ctx, GLenum target, #if DEBUG_VP debug_vp_inst(ap.Base.NumInstructions, ap.VPInstructions); +#else + (void) debug_vp_inst; #endif /* copy the relvant contents of the arb_program struct into the |