summaryrefslogtreecommitdiff
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-08-07 07:54:53 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-08-07 07:54:53 -0600
commitee8dfdf4c9f0bbf4f99a6b78dbddc4871fd80a1c (patch)
tree4d0abbae62f0df3515abe3f6a289fc0a3cd2dab3 /src/mesa/main/texobj.c
parent523ee3ddbe29f5c2915d42a700115f570c277e15 (diff)
mesa: fix glBindTexture error string (bug 17005)
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 8e8704f1ca..d21645913f 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) {