Skip to content

scenes/opengl: Properly destroy backend if initialization fails

Vlad Zahorodnii requested to merge work/fix-use-after-free into master

SceneOpenGL takes the ownership of the backend. So, if the scene fails to initialize, the backend will be deleted twice.

Merge request reports