projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7287bbf
)
added a comment in BindTexture
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 23 Sep 2004 17:31:21 +0000
(17:31 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 23 Sep 2004 17:31:21 +0000
(17:31 +0000)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index 5e02f3b04ca9bb7a92328e5a1a8dfa346175c08b..079a0607c6fd2a00e5c66fa23385fab5e3480892 100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-783,6
+783,10
@@
_mesa_BindTexture( GLenum target, GLuint texName )
}
if (oldTexObj->Name == texName)
+ /* XXX this might be wrong. If the texobj is in use by another
+ * context and a texobj parameter was changed, this might be our
+ * only chance to update this context's hardware state.
+ */
return; /* rebinding the same texture- no change */
/*