mirror of https://github.com/GNOME/gimp.git
Macro name change to GDK_OSX_BIGSUR
This commit is contained in:
parent
0ac0e4bdc9
commit
5ff5d38985
|
@ -270,7 +270,7 @@ gui_init (Gimp *gimp,
|
||||||
* has the additional cost of an 8-bit (ARGB) to 10-bit conversion.
|
* has the additional cost of an 8-bit (ARGB) to 10-bit conversion.
|
||||||
* Let's disable this mode to regain the lost performance.
|
* Let's disable this mode to regain the lost performance.
|
||||||
*/
|
*/
|
||||||
if (gdk_quartz_osx_version () >= GDK_OSX_BIG_SUR)
|
if (gdk_quartz_osx_version () >= GDK_OSX_BIGSUR)
|
||||||
{
|
{
|
||||||
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
|
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
|
||||||
[userDefaults setBool: NO forKey:@"NSViewUsesAutomaticLayerBackingStores"];
|
[userDefaults setBool: NO forKey:@"NSViewUsesAutomaticLayerBackingStores"];
|
||||||
|
|
Loading…
Reference in New Issue