From: Brian Paul Date: Thu, 7 Aug 2008 13:54:53 +0000 (-0600) Subject: mesa: fix glBindTexture error string (bug 17005) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee8dfdf4c9f0bbf4f99a6b78dbddc4871fd80a1c;p=mesa.git mesa: fix glBindTexture error string (bug 17005) --- diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 8e8704f1ca4..d21645913f3 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -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) {