mesa: fix glBindTexture error string (bug 17005)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user