projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e9aa99
)
swrast: report data type in error message
author
Brian Paul
<brianp@vmware.com>
Fri, 18 Mar 2011 02:31:58 +0000
(20:31 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 18 Mar 2011 02:31:58 +0000
(20:31 -0600)
src/mesa/swrast/s_span.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_span.c
b/src/mesa/swrast/s_span.c
index 3240b1357743961443ebf8b96bab862c1f3d9ea4..ef38a6b22b817b7e4916666eebc8bddcdf11c764 100644
(file)
--- a/
src/mesa/swrast/s_span.c
+++ b/
src/mesa/swrast/s_span.c
@@
-299,7
+299,8
@@
interpolate_int_colors(struct gl_context *ctx, SWspan *span)
interpolate_active_attribs(ctx, span, FRAG_BIT_COL0);
break;
default:
- _mesa_problem(NULL, "bad datatype in interpolate_int_colors");
+ _mesa_problem(ctx, "bad datatype 0x%x in interpolate_int_colors",
+ span->array->ChanType);
}
span->arrayMask |= SPAN_RGBA;
}