From ee8dfdf4c9f0bbf4f99a6b78dbddc4871fd80a1c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 7 Aug 2008 07:54:53 -0600 Subject: mesa: fix glBindTexture error string (bug 17005) --- src/mesa/main/texobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3