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

Fixes renderbuffer leaking when creating Fbo #5664

Merged
merged 2 commits into from
Mar 21, 2018
Merged

Conversation

tito
Copy link
Member

@tito tito commented Mar 21, 2018

If a FBO was created with stencil buffer but no depth buffer (like what ShaderTransition does today), it doesn't release the Renderbuffer created for the stencil.

The same renderbuffer is used for both stencil and depth, but only the depth id was checked for the release. This PR fixes the leak.

Ref #5581

@tito tito merged commit 02751c2 into master Mar 21, 2018
@ghost
Copy link

ghost commented Mar 21, 2018

Nice catch, maybe this fixes #4483?

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

Successfully merging this pull request may close these issues.

None yet

1 participant