mesa: fix a few incorrect error messages
This commit is contained in:
parent
dc520d4fef
commit
2be2e1d3ad
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue