Skip to content
Snippets Groups Projects
Commit 7dd0a4f1 authored by Oliver Behnke's avatar Oliver Behnke
Browse files

Fix quit on debug

parent f81718d3
Branches
No related tags found
1 merge request!1Move macOS build to 64 bit
...@@ -235,7 +235,10 @@ void WindowManager::eventLoop() ...@@ -235,7 +235,10 @@ void WindowManager::eventLoop()
#ifdef DEBUG_VALGRIND #ifdef DEBUG_VALGRIND
} }
else { else {
if (m_Window) SDL_DestroyWindow(m_Window); if (m_Window) {
SDL_GL_DeleteContext(m_GLContext);
SDL_DestroyWindow(m_Window);
}
break; break;
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment