SFML community forums
Help => Window => Topic started by: Pwndja on September 18, 2007, 08:39:12 am
-
When I pass sf::Window::Fullscreen to the window constructor I get this message in the console window 'the requested video is not available, switching to a valid mode' but then it goes to fullscreen mode. I was wondering if there is something i am doing wrong to get this message. here is the code section
sf::RenderWindow window( sf::VideoMode( 1280, 750 ), "Map Editer", sf::Window::Fullscreen );
-
1280x750 is not a valid fullscreen mode.
Try 1280x1024, 1024x768, 800x600, ...
You can even get the list of valid modes for your system, read the tutorials to know how to do it.
I get this message in the console window 'the requested video is not available, switching to a valid mode' but then it goes to fullscreen mode
It means that it switches to a valid fullscreen mode (you requested fullscreen, so it just keeps it).