You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a GL render target texture with mipmaps, GL_TEXTURE_MAX_LEVEL must be initialized, otherwise trying to render into mipmap levels other then 0 results in an incomplete framebuffer.
(apparently calling glTexImage2D() with a null data ptr doesn't actually reserve storage for that mip level)
The text was updated successfully, but these errors were encountered:
Just putting part of #912 into a new ticket:
When creating a GL render target texture with mipmaps, GL_TEXTURE_MAX_LEVEL must be initialized, otherwise trying to render into mipmap levels other then 0 results in an incomplete framebuffer.
(apparently calling glTexImage2D() with a null data ptr doesn't actually reserve storage for that mip level)
The text was updated successfully, but these errors were encountered: