mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 10:50:26 +01:00
Fix the compile of disabled DEBUG_PARSING code.
This commit is contained in:
parent
185320ae13
commit
b039b785e2
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue