summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2007-05-09 03:25:33 +0000
committerOliver McFadden <[email protected]>2007-05-09 03:25:33 +0000
commitfe2c58d2d520d49bbf4c922885ae4f0bf27fcde9 (patch)
tree410ae3102336abbe50960da6917440a37cc140d6 /src/mesa
parent4917955205e474fd6c3ad15a7dc886e04e83f34c (diff)
r300: Converted a few fprintf calls to _mesa_warning calls.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c
index 486a3f2f040..6e023ef2ffa 100644
--- 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;