pls i need help :-/ no one have an idea ? i try to use only the SDL for take
the platform independent … the SDL not expone the resolution of the
machine where run ?
“Goul_duKat” <@Goul_duKat> ha scritto nel messaggio
news:bjqi0d$1pr$1 at sea.gmane.org…> How to obtain the current resolution of the WM_desktop under SDL ???
i need this for switch fullscreen in windows without change the resolution
of the screen.
SDL_WM_ToggleFullScreen(SDL_Surface *surface);
trick to use this function under windows is to put the flag in init video
flag and launch a resize event
pls i need help :-/ no one have an idea ? i try to use only the SDL for take
the platform independent … the SDL not expone the resolution of the
machine where run ?
SDL doesn’t have a way to tell you the desktop resolution, but you could
write some platform-specific code. (shrug)