summaryrefslogtreecommitdiff
path: root/src/mesa/main/api_validate.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-09-23 13:56:46 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-23 13:58:18 -0600
commitef5935bc94a1439eb8f1731732a3eabd0e360407 (patch)
tree116282a99c0f63f7d7fe441cb9f964e21b32349f /src/mesa/main/api_validate.c
parent39c709c0f6a9b2c910265390b31ce233a991ab68 (diff)
fix DrawRangeElements error msg
Diffstat (limited to 'src/mesa/main/api_validate.c')
-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 3e4fe46b1d..e2eebccd47 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;
}
}