mesa: misc sync-up with master

This commit is contained in:
Brian
2008-03-27 16:05:40 -06:00
parent d46ac956db
commit 5052dabb44
+3 -3
View File
@@ -3815,11 +3815,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);