From: Brian Paul Date: Fri, 29 Apr 2011 18:03:28 +0000 (-0600) Subject: mesa: fix a few incorrect error messages X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2be2e1d3ada2d9cb5c1c42e955629d8fbbafcd0b;p=mesa.git mesa: fix a few incorrect error messages --- diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c index fbd70d56ca9..20b7b717310 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; }