Commit d81bbd49 authored by Halla Rempt's avatar Halla Rempt
Browse files

Disable opengl on OSX if the GPU is AMD

For some reason, with Sierra and an AMD gpu Krita hangs when saving
images that have no layers (i.e., something keeps the projection
locked). This is properly fixed in master with the saving of images
in the background.

BUG:369014
parent f386cdb7
......@@ -79,7 +79,9 @@ namespace
bool isSupportedVersion() const {
return
#ifdef Q_OS_OSX
((glMajorVersion * 100 + glMinorVersion) >= 302)
((glMajorVersion * 100 + glMinorVersion) >= 302
&& !rendererString.toLower().contains("amd")
&& !rendererString.toLower().contains("radeon"))
#else
(glMajorVersion >= 3 && (supportsDeprecatedFunctions || isOpenGLES)) ||
((glMajorVersion * 100 + glMinorVersion) == 201)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment