mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 08:20:25 +01:00
mesa: fix glBindTexture error string (bug 17005)
This commit is contained in:
parent
523ee3ddbe
commit
ee8dfdf4c9
1 changed files with 1 additions and 1 deletions
|
|
@ -873,7 +873,7 @@ _mesa_BindTexture( GLenum target, GLuint texName )
|
|||
if (newTexObj->Target != 0 && newTexObj->Target != target) {
|
||||
/* the named texture object's target doesn't match the given target */
|
||||
_mesa_error( ctx, GL_INVALID_OPERATION,
|
||||
"glBindTexture(wrong dimensionality)" );
|
||||
"glBindTexture(target mismatch)" );
|
||||
return;
|
||||
}
|
||||
if (newTexObj->Target == 0 && target == GL_TEXTURE_RECTANGLE_NV) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue