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.
This commit is contained in:
Oliver McFadden
2007-05-09 03:38:45 +00:00
parent b8640db021
commit f0126a76ac
+1 -1
View File
@@ -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;