glActiveTexture (GL_TEXTURE0); //在绑定纹理之前先激活纹理单元 glBindTexture(GL_TEXTURE_2D, texture);. 激活纹理单元之后,接下来的 glBindTexture 函数调用会绑定 ...
確定! 回上一頁