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

Unset deleted render target #4655

Merged
merged 1 commit into from Sep 22, 2022
Merged

Unset deleted render target #4655

merged 1 commit into from Sep 22, 2022

Conversation

slimbuck
Copy link
Member

Unset the render target on the device after it has being destroyed.

I encountered a destroyed render target being set on the device again (because drawQuadWithShader restores the previous render target), resulting in an FRAMEBUFFER_INCOMPLETE_ATTACHMENT error.

@slimbuck slimbuck added bug area: graphics Graphics related issue labels Sep 22, 2022
@slimbuck slimbuck requested a review from a team September 22, 2022 13:30
@slimbuck slimbuck self-assigned this Sep 22, 2022
@slimbuck slimbuck merged commit 7e67366 into playcanvas:main Sep 22, 2022
@slimbuck slimbuck deleted the rt-fix branch September 22, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants