glPixelStorei(GL_UNPACK_ALIGNMENT,1); glTexImage2D(GL_TEXTURE_2D,0 ... If for example width is 41 and the texture is packed (so each row is 41 bytes wide ...
確定! 回上一頁