move to libuv for the rendering loop

This commit is contained in:
Konstantin Käfer
2014-04-30 12:01:26 +02:00
parent ddc359f006
commit 1216a061d3
32 changed files with 1312 additions and 911 deletions

View File

@@ -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);
}