From fb71a484133c53d37e9510b96d14ab04724ead79 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 6 Aug 2008 08:52:56 -0600 Subject: mesa: fix comment about texture targets (bug 17005) --- src/mesa/main/texobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 24d8110b002..8e8704f1ca4 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -871,7 +871,7 @@ _mesa_BindTexture( GLenum target, GLuint texName ) if (newTexObj) { /* error checking */ if (newTexObj->Target != 0 && newTexObj->Target != target) { - /* the named texture object's dimensions don't match the target */ + /* the named texture object's target doesn't match the given target */ _mesa_error( ctx, GL_INVALID_OPERATION, "glBindTexture(wrong dimensionality)" ); return; -- cgit v1.2.3