projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
523ee3d
)
mesa: fix glBindTexture error string (bug 17005)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 7 Aug 2008 13:54:53 +0000
(07:54 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 7 Aug 2008 13:54:53 +0000
(07:54 -0600)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index 8e8704f1ca4c9d1f6c6fa46b27c45cef8572a231..d21645913f3001be37d18dc5be3daddd634d0fd7 100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-873,7
+873,7
@@
_mesa_BindTexture( GLenum target, GLuint texName )
if (newTexObj->Target != 0 && newTexObj->Target != 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) {