Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GL Backend: trying to render into mipmap level other than 0 results in incomplete framebuffer. #923

Closed
floooh opened this issue Oct 25, 2023 · 0 comments
Assignees

Comments

@floooh
Copy link
Owner

floooh commented Oct 25, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant