[SDL] Problems with SDL 1.2.8
Jan Becker
tahoma at gmx.de
Sun Feb 13 15:32:12 PST 2005
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.
Furthermore i react on the keydown event to flag the key as pressed in
my own keystate map. Analogue in the keyup event. It works the first time,
too.
After a switch to fullscreen the keyup event is send immediatly after
the keydown event, so every key i mapped with "up" state.
I wrote this code some time ago and it worked always on my old machine.
Regards,
Jan
hardware: notebook, Windows XP, PentiumM 1.6GHz, RADEON 9600 Pro Turbo
Mobile.
More information about the SDL
mailing list