diff options
author | Keith Whitwell <[email protected]> | 2004-01-23 14:46:27 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-01-23 14:46:27 +0000 |
commit | 3abf746a7eae52220485cd031aecec2ca9e6103e (patch) | |
tree | c5b0f5e9e1751cb18043824027b2e0c2b06b1b03 /src/mesa/main/arbfragparse.c | |
parent | 5c161cf615a073a9a69916957babdd234eba2174 (diff) |
Don't set extra bits in FLUSH_VERTICES, fix several state bugs.
Diffstat (limited to 'src/mesa/main/arbfragparse.c')
-rw-r--r-- | src/mesa/main/arbfragparse.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/main/arbfragparse.c b/src/mesa/main/arbfragparse.c index 1723e6c5d9a..9a986b4a835 100644 --- a/src/mesa/main/arbfragparse.c +++ b/src/mesa/main/arbfragparse.c @@ -38,8 +38,8 @@ #include "arbparse.h" #include "arbfragparse.h" -static void -debug_fp_inst(GLint num, struct fp_instruction *fp) +void +_mesa_debug_fp_inst(GLint num, struct fp_instruction *fp) { GLint a; @@ -228,9 +228,7 @@ _mesa_parse_arb_fragment_program(GLcontext * ctx, GLenum target, } #if DEBUG_FP - debug_fp_inst(ap.Base.NumInstructions, ap.FPInstructions); -#else - (void) debug_fp_inst; + _mesa_debug_fp_inst(ap.Base.NumInstructions, ap.FPInstructions); #endif program->Instructions = ap.FPInstructions; |