diff options
author | Eric Anholt <[email protected]> | 2008-01-15 15:09:21 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-01-15 15:10:54 -0800 |
commit | b039b785e23abb78342fa0febffa0cdbb49e7ef4 (patch) | |
tree | 13d4a7d12b5ec132489c20cabd2e42cddd970048 /src/mesa | |
parent | 185320ae13163995ea61e38104ab5aeaeb28d8e5 (diff) |
Fix the compile of disabled DEBUG_PARSING code.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/arbprogparse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index eaa395048d4..705507a5246 100644 --- a/src/mesa/shader/arbprogparse.c +++ b/src/mesa/shader/arbprogparse.c @@ -3809,11 +3809,11 @@ _mesa_parse_arb_program(GLcontext *ctx, GLenum target, int line, col; char *s; fprintf(stderr, "program: %s\n", (char *) strz); - fprintf(stderr, "Error Pos: %d\n", ctx->program.ErrorPos); - s = (char *) _mesa_find_line_column(strz, strz+ctx->program.ErrorPos, + fprintf(stderr, "Error Pos: %d\n", ctx->Program.ErrorPos); + s = (char *) _mesa_find_line_column(strz, strz+ctx->Program.ErrorPos, &line, &col); fprintf(stderr, "line %d col %d: %s\n", line, col, s); - } while (0) + } while (0); #endif _mesa_free(strz); |