summaryrefslogtreecommitdiff
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-08-07 10:29:11 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-08-07 13:32:43 -0600
commit2c2d6c90fe910e9ba9f84650ce0e80c34f165eac (patch)
treebafb375793ae12acdbf0f63bca2c793e62bb1289 /src/mesa/main/texobj.c
parent14ac52e457ea71f2cfc761948f397cedab4d255b (diff)
mesa: fix glBindTexture comment/error string
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index b77a00dd15..c163a8158f 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -875,9 +875,9 @@ _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)" );
+ "glBindTexture(target mismatch)" );
return;
}
if (newTexObj->Target == 0 && target == GL_TEXTURE_RECTANGLE_NV) {