OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e4ca7
)
mesa: fix comment about texture targets (bug 17005)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 6 Aug 2008 14:52:56 +0000
(08:52 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 6 Aug 2008 14:52:56 +0000
(08:52 -0600)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index
24d8110
..
8e8704f
100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-871,7
+871,7
@@
_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)" );
return;