[glfw] use newer version that allows automated graphics switching on macOS
This commit is contained in:
@@ -42,6 +42,8 @@ GLFWView::GLFWView(bool fullscreen_, bool benchmark_)
|
||||
height = videoMode->height;
|
||||
}
|
||||
|
||||
glfwWindowHint(GLFW_COCOA_GRAPHICS_SWITCHING, GL_TRUE);
|
||||
|
||||
#ifdef DEBUG
|
||||
glfwWindowHint(GLFW_OPENGL_DEBUG_CONTEXT, GL_TRUE);
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
mason_use(glfw VERSION 3.2.1)
|
||||
mason_use(glfw VERSION 2017-02-09-77a8f10)
|
||||
mason_use(mesa VERSION 13.0.4)
|
||||
mason_use(boost_libprogram_options VERSION 1.62.0${MASON_CXXABI_SUFFIX})
|
||||
mason_use(sqlite VERSION 3.14.2)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.10)
|
||||
|
||||
mason_use(glfw VERSION 3.2.1)
|
||||
mason_use(glfw VERSION 2017-02-09-77a8f10)
|
||||
mason_use(boost_libprogram_options VERSION 1.62.0)
|
||||
mason_use(gtest VERSION 1.8.0)
|
||||
mason_use(benchmark VERSION 1.0.0-1)
|
||||
|
||||
Reference in New Issue
Block a user