From: Oliver McFadden Date: Wed, 9 May 2007 03:38:45 +0000 (+0000) Subject: r300: Corrected an error in r300_vertprog.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0126a76ac9fc9c20b1b1aecf1d476d5fd432f36;p=mesa.git 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. --- diff --git a/src/mesa/drivers/dri/r300/r300_vertprog.c b/src/mesa/drivers/dri/r300/r300_vertprog.c index 245ceb4d122..ddb4996ee02 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;