2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #144 from archshift/graceful-quit

emu_window_glfw.cpp: Fixed graceful quitting
This commit is contained in:
Tony Wasserka 2014-10-19 11:54:19 +02:00
commit 09fa3aa338

View file

@ -31,7 +31,7 @@ void EmuWindow_GLFW::OnKeyEvent(GLFWwindow* win, int key, int scancode, int acti
/// Whether the window is still open, and a close request hasn't yet been sent /// Whether the window is still open, and a close request hasn't yet been sent
const bool EmuWindow_GLFW::IsOpen() { const bool EmuWindow_GLFW::IsOpen() {
return glfwWindowShouldClose(m_render_window) != 0; return glfwWindowShouldClose(m_render_window) == 0;
} }
/// EmuWindow_GLFW constructor /// EmuWindow_GLFW constructor