diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-05-06 16:04:13 +0300 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-05-07 11:01:15 +0200 |
commit | 769364c117dfa618801fa4d90b74043bb46b8092 (patch) | |
tree | d47059831008a36c81477e7d9e110c0a7145b378 /linux/main.cpp | |
parent | 168d7c4f171b44b0e3cd4ef78bc4e6b5e8181953 (diff) | |
download | qtlocation-mapboxgl-769364c117dfa618801fa4d90b74043bb46b8092.tar.gz |
Make all GLFWView attributes private
Diffstat (limited to 'linux/main.cpp')
-rw-r--r-- | linux/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/main.cpp b/linux/main.cpp index 2361c996d6..c295eb18e0 100644 --- a/linux/main.cpp +++ b/linux/main.cpp @@ -23,8 +23,7 @@ std::unique_ptr<GLFWView> view; void quit_handler(int) { if (view) { mbgl::Log::Info(mbgl::Event::Setup, "waiting for quit..."); - glfwSetWindowShouldClose(view->window, true); - glfwPostEmptyEvent(); + view->setShouldClose(); } else { exit(0); } |