mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
fix: Delete splash textures before destroying splash screen
This commit is contained in:
@@ -65,6 +65,10 @@ namespace hex::init {
|
||||
}
|
||||
|
||||
WindowSplash::~WindowSplash() {
|
||||
// Clear textures before deinitializing glfw
|
||||
m_splashBackgroundTexture.reset();
|
||||
m_splashTextTexture.reset();
|
||||
|
||||
this->exitImGui();
|
||||
this->exitGLFW();
|
||||
}
|
||||
@@ -584,7 +588,6 @@ namespace hex::init {
|
||||
|
||||
void WindowSplash::exitGLFW() const {
|
||||
glfwDestroyWindow(m_window);
|
||||
glfwTerminate();
|
||||
}
|
||||
|
||||
void WindowSplash::exitImGui() const {
|
||||
|
||||
Reference in New Issue
Block a user