[SDL] compile sdl

David Bean sdl at dbean.uklinux.net
Tue Nov 11 08:21:01 PST 2003


On Tue, 2003-11-11 at 15:36, elhadj benkhelifa wrote:
> hi again
> 
> yes i did it , it compiles but the screen doesn't stay
> when i run the program. 
> 
> what does that mean?
> 
> the code i am testing is the one provided in SDL Doc,
> initializing video.
> 
> thanks again

Try adding:

SDL_Delay(5000);

This will pause for 5 seconds so you can see what is happening. It may
be the case you are opening the display, then closing it quickly.

David Bean






More information about the SDL mailing list