aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-08-06 08:52:56 -0600
committerBrian Paul <[email protected]>2008-08-06 08:52:56 -0600
commitfb71a484133c53d37e9510b96d14ab04724ead79 (patch)
tree57fbdae9a6eadf5abc4a48018fde063149fc25b8
parentf1e4ca776f1c1f86beb8872d32009d902cf64e88 (diff)
mesa: fix comment about texture targets (bug 17005)
-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 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;