Fix T71342: macOS does not always use the discrete GPU for Blender

This reverts commit 3d9cc4d3f1. The commit
message and intent behind the commit is unclear. We generally want the
discrete GPU to be used for best performance, not the integrated GPU.
This commit is contained in:
Brecht Van Lommel
2019-12-06 19:12:44 +01:00
parent 6df2ede341
commit dd4b98133e
2 changed files with 0 additions and 4 deletions

View File

@@ -227,8 +227,6 @@ static void makeAttribList(std::vector<NSOpenGLPixelFormatAttribute> &attribs,
attribs.push_back(NSOpenGLPFANoRecovery);
}
attribs.push_back(NSOpenGLPFAAllowOfflineRenderers); // for automatic GPU switching
if (stereoVisual)
attribs.push_back(NSOpenGLPFAStereo);

View File

@@ -49,7 +49,5 @@
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
</dict>
</plist>