Skip to content

Commit 9e32448

Browse files
eliasSiegeLord
authored andcommitted
call it from right thread
1 parent 8d61cfe commit 9e32448

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/macosx/osxgl.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,10 +2473,10 @@ static bool set_display_flag(ALLEGRO_DISPLAY *display, int flag, bool onoff)
24732473
retcode = false;
24742474
break;
24752475
}
2476-
if (need_setup_gl) {
2477-
setup_gl(display);
2478-
}
24792476
});
2477+
if (need_setup_gl) {
2478+
setup_gl(display);
2479+
}
24802480
return retcode;
24812481
#endif
24822482
}

0 commit comments

Comments
 (0)