mesa: fix error message text
authorBrian Paul <brianp@vmware.com>
Tue, 22 Sep 2009 19:14:55 +0000 (13:14 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 22 Sep 2009 19:19:11 +0000 (13:19 -0600)
src/mesa/main/bufferobj.c

index c8d160baa9a88c302bc1e094df5ac678df9bd272..2d1be5b7760303809f8bc78588a6f8d7b69947b8 100644 (file)
@@ -1040,7 +1040,7 @@ _mesa_MapBufferARB(GLenum target, GLenum access)
    ASSERT(ctx->Driver.MapBuffer);
    bufObj->Pointer = ctx->Driver.MapBuffer( ctx, target, access, bufObj );
    if (!bufObj->Pointer) {
-      _mesa_error(ctx, GL_OUT_OF_MEMORY, "glMapBufferARB(access)");
+      _mesa_error(ctx, GL_OUT_OF_MEMORY, "glMapBufferARB(map failed)");
    }
 
    bufObj->Access = access;