diff --git a/main/gui/source/window/window.cpp b/main/gui/source/window/window.cpp index 14382863a..92e886783 100644 --- a/main/gui/source/window/window.cpp +++ b/main/gui/source/window/window.cpp @@ -190,6 +190,10 @@ namespace hex { m_lastFrameTime = glfwGetTime() - m_lastStartFrameTime; } + + // Hide the window as soon as the render loop exits to make the window + // disappear as soon as it's closed + glfwHideWindow(m_window); } void Window::frameBegin() {