OT: Started a blog about D, OpenGL and SDL

Olli Aalto oaalto at gmail.com
Thu Jan 25 23:29:18 PST 2007


Mike Parker wrote:
> 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!

By any chance do you know what needs to be done for derelict's SDL to 
work on a mac? I have one and I've probably got some time during the 
weekend, so I could give it a shot. I just need to know a little bit 
more of the problem.

O.



More information about the Digitalmars-d-announce mailing list