diff options
author | Brian Paul <[email protected]> | 2001-04-20 17:16:52 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-04-20 17:16:52 +0000 |
commit | 0a31a672692c7e5f821f6c2f737b0b15f97bf2d9 (patch) | |
tree | ec6eee63d801bc1f67169996650d1afe67bf93ba /src | |
parent | 1c85aa33321821b44bea83d3dee702ab4e05f406 (diff) |
improved a glBindTexture error message
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 9ebbb1415be..fc2915531b7 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -1,4 +1,4 @@ -/* $Id: texobj.c,v 1.46 2001/03/28 21:31:54 brianp Exp $ */ +/* $Id: texobj.c,v 1.47 2001/04/20 17:16:52 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -592,7 +592,7 @@ _mesa_BindTexture( GLenum target, GLuint texName ) /* error checking */ if (newTexObj->Dimensions > 0 && newTexObj->Dimensions != targetDim) { /* the named texture object's dimensions don't match the target */ - _mesa_error( ctx, GL_INVALID_OPERATION, "glBindTexture" ); + _mesa_error( ctx, GL_INVALID_OPERATION, "glBindTexture(wrong dimensionality)" ); return; } } |