[SDL] Can't run SDL apps in OSX 10.6

image28 image28 at slingshot.co.nz
Fri Dec 10 14:51:30 PST 2010


Might be because there is no surface linking to SDL_SetVideoMode(640,480,0,SDL_OPENGL); 
add these two lines

SDL_Surface *screen;

screen = SDL_SetVideoMode(640,480,0,SDL_OPENGL);




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20101210/cbf6740a/attachment-0008.htm>


More information about the SDL mailing list