aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-10-21 14:54:16 +0000
committerBrian Paul <[email protected]>2003-10-21 14:54:16 +0000
commitce8e13dc794d86872f5448cba58e3aecd6146c49 (patch)
treea5040c6f0d4b1884436ccb48d9b75a426cfa3db2
parent1b6cca67b5f7c658b6a141e83bbb20ce45a3b85c (diff)
fix an error message
-rw-r--r--src/mesa/main/bufferobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 04107928e38..9304a85348c 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -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;
}