summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-04-30 12:01:26 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-04-30 12:01:26 +0200
commit1216a061d3e46eae983a38e42e71115e5c9faef6 (patch)
tree7ddb57f2885072db82657dc56dff64e49e28db76 /linux
parentddc359f006c47e2a503b616d27e22f5d29c13e5b (diff)
downloadqtlocation-mapboxgl-1216a061d3e46eae983a38e42e71115e5c9faef6.tar.gz
move to libuv for the rendering loop
Diffstat (limited to 'linux')
-rw-r--r--linux/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index 49de8a2ac8..32ae04cca9 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -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);
}