The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL_SetWindowFullscreen bug
tjcbs


Joined: 26 Jun 2013
Posts: 19
Location: United States
There is some strange behavior happening with SDL_SetWindowFullscreen. This is what the application looks like if it starts up windowed.


However, if the application is in full screen, and I try to make it windowed with SDL_SetWindowFullscreen, this is the result:


However, if I create the window with SDL_WINDOW_BORDERLESS, then it functions correctly. Any Ideas? I'm using SDL 2.0.4