From 7e0c5888eaf72483319533a805ce491e2ea7de92 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 23 Sep 2004 17:31:21 +0000 Subject: [PATCH] added a comment in BindTexture --- src/mesa/main/texobj.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 5e02f3b..079a060 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 */ /* -- 2.7.4