summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-09-23 17:31:21 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-09-23 17:31:21 +0000
commit7e0c5888eaf72483319533a805ce491e2ea7de92 (patch)
tree4dedbe10ff89e2f97a8de2b39972e3103d110e33 /src/mesa/main
parent7287bbf4fc7c52da2aa31cae897ed70deda645bb (diff)
added a comment in BindTexture
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texobj.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 5e02f3b04c..079a0607c6 100644
--- 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 */
/*