Macro name change to GDK_OSX_BIGSUR

This commit is contained in:
Lukas Oberhuber 2021-10-04 21:35:35 +01:00
parent 0ac0e4bdc9
commit 5ff5d38985
1 changed files with 1 additions and 1 deletions

View File

@ -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"];