You will need to call glBindTexture (GL_TEXTURE_2D, tex [0]); prior to calling it in order for the texture to be properly set up by OpenGL.
確定! 回上一頁