summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-08-07 07:54:53 -0600
committerBrian Paul <[email protected]>2008-08-07 07:54:53 -0600
commitee8dfdf4c9f0bbf4f99a6b78dbddc4871fd80a1c (patch)
tree4d0abbae62f0df3515abe3f6a289fc0a3cd2dab3 /src/mesa
parent523ee3ddbe29f5c2915d42a700115f570c277e15 (diff)
mesa: fix glBindTexture error string (bug 17005)
Diffstat (limited to 'src/mesa')
-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 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) {