mirror of https://github.com/WerWolv/ImHex.git
impr: Hide window immediately after render loop finishes
This commit is contained in:
parent
ebe0276141
commit
a5f6756659
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue