diff options
Diffstat (limited to 'platform/glfw/glfw_view.cpp')
-rw-r--r-- | platform/glfw/glfw_view.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/glfw/glfw_view.cpp b/platform/glfw/glfw_view.cpp index fdf82fda8f..0d83073952 100644 --- a/platform/glfw/glfw_view.cpp +++ b/platform/glfw/glfw_view.cpp @@ -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 |