Skip to content

Fix restoration of potentially deleted OpenGL objects#6224

Closed
Cyphall wants to merge 1 commit intoocornut:dockingfrom
Cyphall:opengl3_program_restoration_fix
Closed

Fix restoration of potentially deleted OpenGL objects#6224
Cyphall wants to merge 1 commit intoocornut:dockingfrom
Cyphall:opengl3_program_restoration_fix

Conversation

@Cyphall
Copy link
Copy Markdown
Contributor

@Cyphall Cyphall commented Mar 5, 2023

This PR fixes #6220 by adding validity checks before restoring the OpenGL program binding.

@ocornut
Copy link
Copy Markdown
Owner

ocornut commented Mar 6, 2023

Thank you for the quality PR !
Meged as 66b7625, closing #6224 and #6220

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants