浏览代码

added a comment in BindTexture

tags/R300_DRIVER_0
Brian Paul 21 年前
父节点
当前提交
7e0c5888ea
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/mesa/main/texobj.c

+ 4
- 0
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 */

/*

正在加载...
取消
保存