Make all GLFWView attributes private
This commit is contained in:
committed by
Konstantin Käfer
parent
168d7c4f17
commit
769364c117
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user