projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ac52e
)
mesa: fix glBindTexture comment/error string
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 7 Aug 2008 16:29:11 +0000
(10:29 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 7 Aug 2008 19:32:43 +0000
(13:32 -0600)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index
b77a00d
..
c163a81
100644
(file)
--- 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) {