projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d46ac95
)
mesa: misc sync-up with master
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 22:05:40 +0000
(16:05 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 22:05:40 +0000
(16:05 -0600)
src/mesa/shader/arbprogparse.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/arbprogparse.c
b/src/mesa/shader/arbprogparse.c
index ac4da35d12673c1fbb13b83bd149ed27e1fb7c4c..042bddc312db95fb19816f42b02bf1dbd2c0c92c 100644
(file)
--- a/
src/mesa/shader/arbprogparse.c
+++ b/
src/mesa/shader/arbprogparse.c
@@
-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->
p
rogram.ErrorPos);
- s = (char *) _mesa_find_line_column(strz, strz+ctx->
p
rogram.ErrorPos,
+ fprintf(stderr, "Error Pos: %d\n", ctx->
P
rogram.ErrorPos);
+ s = (char *) _mesa_find_line_column(strz, strz+ctx->
P
rogram.ErrorPos,
&line, &col);
fprintf(stderr, "line %d col %d: %s\n", line, col, s);
- } while (0)
+ } while (0)
;
#endif
_mesa_free(strz);