From b826d043d01060acd96e568706f94cfab9163df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Tue, 24 Jan 2017 22:08:17 +0100 Subject: [macos] allow using the integrated GPU on dual-GPU machines Cherry-picked from e7a7c6be789198a8155dc229ea509dd7aecf4756. --- platform/macos/src/MGLOpenGLLayer.mm | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/macos/src') diff --git a/platform/macos/src/MGLOpenGLLayer.mm b/platform/macos/src/MGLOpenGLLayer.mm index e8fa521351..523b585055 100644 --- a/platform/macos/src/MGLOpenGLLayer.mm +++ b/platform/macos/src/MGLOpenGLLayer.mm @@ -32,6 +32,7 @@ NSOpenGLPFADepthSize, 16, NSOpenGLPFAStencilSize, 8, NSOpenGLPFAScreenMask, mask, + NSOpenGLPFAAllowOfflineRenderers, // Allows using the integrated GPU 0 }; return [[NSOpenGLPixelFormat alloc] initWithAttributes:pfas]; -- cgit v1.2.1