Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-12-06 21:12:44 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-12-06 21:21:02 +0300
commitdd4b98133eb861f28053e7464574254d3cd9e594 (patch)
tree091dec141e14fc4e025ded4bca7063bc358f297c /intern
parent6df2ede3414422372ac3b0b229b401e973b98509 (diff)
Fix T71342: macOS does not always use the discrete GPU for Blender
This reverts commit 3d9cc4d3f174d01c96d65a4e9cd751699bcb8744. 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.
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_ContextCGL.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_ContextCGL.mm b/intern/ghost/intern/GHOST_ContextCGL.mm
index 1fbce0c1e6b..df750fc50f6 100644
--- a/intern/ghost/intern/GHOST_ContextCGL.mm
+++ b/intern/ghost/intern/GHOST_ContextCGL.mm
@@ -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);