fix DrawRangeElements error msg

This commit is contained in:
Brian
2007-09-23 13:56:46 -06:00
parent 39c709c0f6
commit ef5935bc94
+1 -1
View File
@@ -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;
}
}