summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-05-09 03:38:45 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-05-09 03:38:45 +0000
commitf0126a76ac9fc9c20b1b1aecf1d476d5fd432f36 (patch)
treefd0a87eac5ea4e390e1f796584b3344bb32c1db1 /src/mesa
parentb8640db021feca2765df8ad3d31e9c818cc352ac (diff)
r300: Corrected an error in r300_vertprog.c.
Cannot use _mesa_warning here because we don't have a context pointer; perhaps R300 specific warning and error functions are needed.
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 245ceb4d12..ddb4996ee0 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) {
- _mesa_warning ("negative offsets for indirect addressing do not work.\n");
+ fprintf (stderr, "negative offsets for indirect addressing do not work.\n");
return 0;
}
return src->Index;