File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -740,8 +740,9 @@ static void setup_gl(ALLEGRO_DISPLAY *d)
740
740
{
741
741
_al_ogl_setup_gl (d);
742
742
743
- ALLEGRO_DISPLAY_OSX_WIN* dpy = (ALLEGRO_DISPLAY_OSX_WIN*) d;
744
- [dpy->ctx update ];
743
+ // TODO: This crashes on OSX Catalina, but does not seem to be needed
744
+ // ALLEGRO_DISPLAY_OSX_WIN* dpy = (ALLEGRO_DISPLAY_OSX_WIN*) d;
745
+ // [dpy->ctx update];
745
746
}
746
747
747
748
Original file line number Diff line number Diff line change @@ -66,7 +66,9 @@ static void osx_tell_dock(void)
66
66
{
67
67
ProcessSerialNumber psn = { 0 , kCurrentProcess };
68
68
TransformProcessType (&psn, kProcessTransformToForegroundApplication );
69
- [[NSApplication sharedApplication ] activateIgnoringOtherApps: YES ];
69
+ [[NSApplication sharedApplication ] performSelectorOnMainThread: @selector (activateIgnoringOtherApps: )
70
+ withObject: YES
71
+ waitUntilDone: YES ];
70
72
}
71
73
72
74
You can’t perform that action at this time.
0 commit comments