projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c85aa3
)
improved a glBindTexture error message
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 20 Apr 2001 17:16:52 +0000
(17:16 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 20 Apr 2001 17:16:52 +0000
(17:16 +0000)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index 9ebbb1415be02f46255ff076341d4ba2076fde4c..fc2915531b71e5fdd129179e0f126dd8b815c1cf 100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-1,4
+1,4
@@
-/* $Id: texobj.c,v 1.4
6 2001/03/28 21:31:54
brianp Exp $ */
+/* $Id: texobj.c,v 1.4
7 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;
}
}