mesa: fix a few incorrect error messages
authorBrian Paul <brianp@vmware.com>
Fri, 29 Apr 2011 18:03:28 +0000 (12:03 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 29 Apr 2011 18:03:48 +0000 (12:03 -0600)
src/mesa/main/transformfeedback.c

index fbd70d5..20b7b71 100644 (file)
@@ -507,7 +507,7 @@ _mesa_BindBufferBase(GLenum target, GLuint index, GLuint buffer)
 
    if (obj->Active) {
       _mesa_error(ctx, GL_INVALID_OPERATION,
-                  "glBindBufferRange(transform feedback active)");
+                  "glBindBufferBase(transform feedback active)");
       return;
    }
 
@@ -555,7 +555,7 @@ _mesa_BindBufferOffsetEXT(GLenum target, GLuint index, GLuint buffer,
 
    if (obj->Active) {
       _mesa_error(ctx, GL_INVALID_OPERATION,
-                  "glBindBufferRange(transform feedback active)");
+                  "glBindBufferOffsetEXT(transform feedback active)");
       return;
    }