You cannot use glTexIamge2D when generating a texture, you need to use glTexStorage2D, and then use glTexSubImage2D to assign the data to the texture ...
確定! 回上一頁