mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Do not use openGL backed canvas + widgets on Catalina
This needs testing: local builds on Catalina vs. running existing (10.6, 10.11) builds on 10.15.
This commit is contained in:
parent
853bf6d178
commit
6ddeaa273a
1 changed files with 7 additions and 0 deletions
|
|
@ -99,6 +99,13 @@ fixup_bundle_environment (int argc, char* argv[], string & localedir)
|
||||||
setup_logging ();
|
setup_logging ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (query_darwin_version () >= 19) {
|
||||||
|
/* on Catalina, do not use NSGLView */
|
||||||
|
g_setenv ("ARDOUR_NSGL", "0", 0);
|
||||||
|
} else {
|
||||||
|
g_setenv ("ARDOUR_NSGL", "1", 0);
|
||||||
|
}
|
||||||
|
|
||||||
no_app_nap ();
|
no_app_nap ();
|
||||||
|
|
||||||
if (!g_getenv ("ARDOUR_BUNDLED")) {
|
if (!g_getenv ("ARDOUR_BUNDLED")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue