SDL_SetWindowFullscreen() results in a blank screen

After calling SDL_SetWindowFullscreen(SDL_WINDOW_FULLSCREEN_DESKTOP), nothing is drawn on the screen. What is wrong?

Hi,

What O.S. platform?

If it’s Linux, then you must unload all textures and unload renderer,
then switch to full screen and reload renderer and reload all textures.
Hope that helps…

JeZxLeeOn 05/10/2015 10:50 AM, M-374 LX wrote:

After calling SDL_SetWindowFullscreen(SDL_WINDOW_FULLSCREEN_DESKTOP),
nothing is drawn on the screen. What is wrong?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org