projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4917955
)
r300: Converted a few fprintf calls to _mesa_warning calls.
author
Oliver McFadden
<z3ro.geek@gmail.com>
Wed, 9 May 2007 03:25:33 +0000
(
03:25
+0000)
committer
Oliver McFadden
<z3ro.geek@gmail.com>
Wed, 9 May 2007 03:25:33 +0000
(
03:25
+0000)
src/mesa/drivers/dri/r300/r300_vertprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_vertprog.c
b/src/mesa/drivers/dri/r300/r300_vertprog.c
index 486a3f2f040ac99e28f1b12f2bf08f22d000aea4..6e023ef2ffa957011f8013c9f380a2e463dbfb92 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_vertprog.c
+++ b/
src/mesa/drivers/dri/r300/r300_vertprog.c
@@
-255,7
+255,7
@@
static unsigned long t_src_index(struct r300_vertex_program *vp, struct prog_src
return vp->inputs[src->Index];
}else{
if (src->Index < 0) {
-
fprintf(stderr, "WARNING negative offsets for indirect addressing do not work
\n");
+
_mesa_warning ("negative offsets for indirect addressing do not work.
\n");
return 0;
}
return src->Index;