When the image is loaded to a texture object, then GL_UNPACK_ALIGNMENT has to be set to 1: glPixelStorei(GL_UNPACK_ALIGNMENT ...
確定! 回上一頁