OT: Started a blog about D, OpenGL and SDL
Mike Parker
aldacron71 at yahoo.com
Thu Jan 25 11:11:31 PST 2007
Anders F Björklund wrote:
>
> Sounds good, be sure to use SDL_main if you want your
> programs to run on Mac OS X and not just Windows/Linux.
>
> extern(C)
> int SDL_main(int argc, char **argv)
> {
> ...
> }
>
> int main(char[][] args)
> {
> return SDL_InitApplication(args);
> }
>
> I don't think there is any support in Derelict for this,
> though. Or at least I haven't gotten it to work on a Mac.
>
> --anders
There will be, either as soon as I get me paws on a Mac or someone gets
it implemented for me. The Mac market is a very important one for me.
Higher conversion rates for indie games than on Windows!
More information about the Digitalmars-d-announce
mailing list