From: Brian Paul Date: Wed, 6 Aug 2008 14:52:56 +0000 (-0600) Subject: mesa: fix comment about texture targets (bug 17005) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb71a484133c53d37e9510b96d14ab04724ead79;p=mesa.git mesa: fix comment about texture targets (bug 17005) --- 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;