diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-07 10:29:11 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-07 13:32:43 -0600 |
commit | 2c2d6c90fe910e9ba9f84650ce0e80c34f165eac (patch) | |
tree | bafb375793ae12acdbf0f63bca2c793e62bb1289 /src | |
parent | 14ac52e457ea71f2cfc761948f397cedab4d255b (diff) |
mesa: fix glBindTexture comment/error string
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/texobj.c | 4 |
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) { |