From ef5935bc94a1439eb8f1731732a3eabd0e360407 Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 23 Sep 2007 13:56:46 -0600 Subject: fix DrawRangeElements error msg --- src/mesa/main/api_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main') 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; } } -- cgit v1.2.3