fix osx close
This commit is contained in:
@@ -137,7 +137,9 @@ bool App::request_close()
|
||||
destroy_window();
|
||||
//PostQuitMessage(0);
|
||||
#elif __OSX__
|
||||
[osx_view close];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[osx_view close];
|
||||
});
|
||||
#elif __LINUX__
|
||||
glfwSetWindowShouldClose(glfw_window, GLFW_TRUE);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user