summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/transformfeedback.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-04-29 12:03:28 -0600
committerBrian Paul <[email protected]>2011-04-29 12:03:48 -0600
commit2be2e1d3ada2d9cb5c1c42e955629d8fbbafcd0b (patch)
tree5ebbef43c7623613b380392ed63d149f7b75928d /src/mesa/main/transformfeedback.c
parentdc520d4fefa6a92b3a8f2eed3c5a1044dfccb3ff (diff)
mesa: fix a few incorrect error messages
Diffstat (limited to 'src/mesa/main/transformfeedback.c')
-rw-r--r--src/mesa/main/transformfeedback.c4
1 files changed, 2 insertions, 2 deletions
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;
}