diff options
Diffstat (limited to 'libs/gtkmm2ext/nsglview.mm')
-rw-r--r-- | libs/gtkmm2ext/nsglview.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/nsglview.mm b/libs/gtkmm2ext/nsglview.mm index 0eb6a1a5ce..1008f5e602 100644 --- a/libs/gtkmm2ext/nsglview.mm +++ b/libs/gtkmm2ext/nsglview.mm @@ -278,6 +278,9 @@ __attribute__ ((visibility ("hidden"))) void* Gtkmm2ext::nsglview_create (Gtkmm2ext::CairoCanvas* canvas) { + if (g_getenv ("ARDOUR_NSGL") && (0 == atoi (g_getenv ("ARDOUR_NSGL")))) { + return 0; + } /* the API is currently only used on intel mac * for big-endian RGBA <> RGBA byte order of the texture * will have to be swapped. |