From f0126a76ac9fc9c20b1b1aecf1d476d5fd432f36 Mon Sep 17 00:00:00 2001 From: Oliver McFadden Date: Wed, 9 May 2007 03:38:45 +0000 Subject: [PATCH] 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. --- src/mesa/drivers/dri/r300/r300_vertprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2