Mesa (master): mesa: fix a few incorrect error messages

Brian Paul brianp at kemper.freedesktop.org
Fri Apr 29 11:04:29 PDT 2011


Module: Mesa
Branch: master
Commit: 2be2e1d3ada2d9cb5c1c42e955629d8fbbafcd0b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2be2e1d3ada2d9cb5c1c42e955629d8fbbafcd0b

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Apr 29 12:03:28 2011 -0600

mesa: fix a few incorrect error messages

---

 src/mesa/main/transformfeedback.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c
index fbd70d5..20b7b71 100644
--- a/src/mesa/main/transformfeedback.c
+++ b/src/mesa/main/transformfeedback.c
@@ -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;
    }
 



More information about the mesa-commit mailing list