fix an error message
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 21 Oct 2003 14:54:16 +0000 (14:54 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 21 Oct 2003 14:54:16 +0000 (14:54 +0000)
src/mesa/main/bufferobj.c

index 04107928e383deef049eb80d7ca0b21e4b3a844e..9304a85348c6ebf151273712df0e2bd59ec0c333 100644 (file)
@@ -615,7 +615,7 @@ _mesa_BufferDataARB(GLenum target, GLsizeiptrARB size,
    }
    
    if (bufObj->Pointer) {
-      _mesa_error(ctx, GL_INVALID_OPERATION, "glBufferSubDataARB(buffer is mapped)" );
+      _mesa_error(ctx, GL_INVALID_OPERATION, "glBufferDataARB(buffer is mapped)" );
       return;
    }