How to

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 :wink:

Seeya