SFML community forums
Help => Window => Topic started by: vidjogamer on April 05, 2011, 08:51:33 pm
-
Is there a way to toggle between windowed and fullscreen at run time?
-
Call window.Create again.
-
Thanks =)
-
So vertical sync only works if I start the app in fullscreen mode. Then if I go to windowed it stops. When I go back to fullscreen it isnt vsynced anymore. Can I remedy this?
-
So vertical sync only works if I start the app in fullscreen mode. Then if I go to windowed it stops. When I go back to fullscreen it isnt vsynced anymore. Can I remedy this?
When you recreate the window all settings are lost so you'll need to reload them from whatever config file your game uses and set the value again.
-
Thanks. Worked like a charm =)