OT: Started a blog about D, OpenGL and SDL
    Anders F Björklund 
    afb at algonet.se
       
    Thu Jan 25 02:24:37 PST 2007
    
    
  
Olli Aalto wrote:
> I wanted just to let you know that I started writing a blog about D, 
> OpenGL and SDL. I will be doing mostly NeHe's tutorials, but I'll 
> probably post about other things too. Mostly D and/or games.
> 
> So here it is http://odefu.blogspot.com/
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
    
    
More information about the Digitalmars-d-announce
mailing list