File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,9 @@ Linux this is no problem because you simply can call [al_install_system]. But
1919some other system (like OSX) don't allow calling [al_install_system] in the main
2020thread. al_run_main will know what to do in that case.
2121
22- The passed argc and argv will simply be passed on to user_main and the return
23- value of user_main will be returned.
22+ If you're calling this outside a library, define `ALLEGRO_NO_MAGIC_MAIN` before
23+ including `<allegro5/allegro.h>` to disable the automatic name mangling.
24+
25+ The passed argc and argv are passed on to user_main and the return value of
26+ user_main will be returned. In certain cases, Allegro may change argv[0] to
27+ point to a different directory (e.g. when inside a MacOS App bundle).
You can’t perform that action at this time.
0 commit comments