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 fbd70d56ca9863e3d129b6862ba6f271ab329dbe..20b7b71731009c324eaa265cb23f29a3b063a0ae 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;
    }