AW: [SDL] Problems with SDL 1.2.8

Jan Becker tahoma at gmx.de
Mon Feb 14 10:46:39 PST 2005


Thank you, it works well for the mode switch. The keyboard
events behave as described in my previous mail.

> You should just call SDL_SetVideo() with the SDL_FULLSCREEN 
> flag and assign the returned pointer to the previous screen. 
> If I'm not misunderstood it won't create any memory leak.
> 
> Regards.
> 
> ----- Mensaje original -----
>     De: "Jan Becker" <tahoma at gmx.de>
>     Env.: 14/02/05 0:32:57
>     Para: "sdl at libsdl.org" <sdl at libsdl.org>
>     Asunto: [SDL] Problems with SDL 1.2.8
>     
>     I updated SDL to version 1.2.8 today. The last version i 
> used was 1.2.5.
>     
>     In my app it is possible to switch to fullscreen and back 
> at runtime.
>     When the mode should be toggled i call SDL_Quit, SDL_Init 
> and SDL_SetVideo
>     with the SDL_FULLSCREEN flag or not.
>     
>     The first switch to fullscreen works. When switching back 
> to windowed mode,
>     my system runs very slowly and all i can do is to kill 
> the process after
>     some time. This problem did not occur in width 1.2.5.





More information about the SDL mailing list