move to libuv for the rendering loop
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
|
||||
MapView *mapView = nullptr;
|
||||
|
||||
void quit_handler(int s) {
|
||||
void quit_handler(int) {
|
||||
if (mapView) {
|
||||
fprintf(stderr, "waiting for quit...\n");
|
||||
glfwSetWindowShouldClose(mapView->window, true);
|
||||
llmr::platform::restart();
|
||||
glfwPostEmptyEvent();
|
||||
} else {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user