[glfw] Workaround for OS X (#4666)
This commit is contained in:
committed by
John Firebaugh
parent
d51944fbea
commit
a2a6e22bdd
@@ -448,7 +448,11 @@ void GLFWView::run() {
|
||||
};
|
||||
|
||||
frameTick.start(mbgl::Duration::zero(), mbgl::Milliseconds(1000 / 60), callback);
|
||||
#if defined(__APPLE__)
|
||||
while (!glfwWindowShouldClose(window)) runLoop.run();
|
||||
#else
|
||||
runLoop.run();
|
||||
#endif
|
||||
}
|
||||
|
||||
float GLFWView::getPixelRatio() const {
|
||||
|
||||
Reference in New Issue
Block a user