summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-09-23 13:56:53 -0600
committerBrian <[email protected]>2007-09-23 13:57:36 -0600
commit6d777bf055377932c1f1644a721ae9a8ccb87628 (patch)
tree7585cb801d1c167fef568f3db812c8cec471a1fd /src
parentae6d4e8bc03eadd0741b72f7dc37003a3e338d17 (diff)
fix DrawRangeElements error msg
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/api_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c
index 88a527e84cb..454484382f1 100644
--- 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, "glDrawRangeElements index out of buffer bounds");
return GL_FALSE;
}
}