projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68d412f
)
mesa: fix warning message in vbo_exec_DrawRangeElements()
author
Brian Paul
<brianp@vmware.com>
Fri, 22 May 2009 21:49:38 +0000
(15:49 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 22 May 2009 21:49:38 +0000
(15:49 -0600)
src/mesa/vbo/vbo_exec_array.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_exec_array.c
b/src/mesa/vbo/vbo_exec_array.c
index cbb9b2396839ea716a9fd745dfa8663d97be5479..2815ba3cc92da1155f5116f54bcd997647df5117 100644
(file)
--- a/
src/mesa/vbo/vbo_exec_array.c
+++ b/
src/mesa/vbo/vbo_exec_array.c
@@
-365,7
+365,8
@@
vbo_exec_DrawRangeElements(GLenum mode,
/* the max element is out of bounds of one or more enabled arrays */
_mesa_warning(ctx, "glDraw[Range]Elements(start %u, end %u, count %d, "
"type 0x%x) index=%u is out of bounds (max=%u)",
- start, end, count, type, end);
+ start, end, count, type, end,
+ ctx->Array.ArrayObj->_MaxElement);
if (0)
_mesa_print_arrays(ctx);
return;