projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c709c
)
fix DrawRangeElements error msg
author
Brian
<brian.paul@tungstengraphics.com>
Sun, 23 Sep 2007 19:56:46 +0000
(13:56 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Sun, 23 Sep 2007 19:58:18 +0000
(13:58 -0600)
src/mesa/main/api_validate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/api_validate.c
b/src/mesa/main/api_validate.c
index 3e4fe46b1dff11640317050f0aefe7dab1402fe8..e2eebccd4778f264299d6c9208752ed7dd28b391 100644
(file)
--- a/
src/mesa/main/api_validate.c
+++ b/
src/mesa/main/api_validate.c
@@
-214,7
+214,7
@@
_mesa_validate_DrawRangeElements(GLcontext *ctx, GLenum mode,
/* make sure count doesn't go outside buffer bounds */
if (indexBytes > ctx->Array.ElementArrayBufferObj->Size) {
- _mesa_warning(ctx, "glDrawElements index out of buffer bounds");
+ _mesa_warning(ctx, "glDraw
Range
Elements index out of buffer bounds");
return GL_FALSE;
}
}