1
Window / First VideoMode is larger than my screen
« on: December 01, 2020, 10:47:11 pm »
Hi,
In the list of video modes, the first one is larger than my screen
Is there any way to not to manually select the screen size mode?
Now I do it like this:
width and height of sf::VideoMode::getFullscreenModes()[0] are 3620 and 2036 but my screen size is 2560x1440, i use SFML v2.5.1
help me please
In the list of video modes, the first one is larger than my screen
Is there any way to not to manually select the screen size mode?
Now I do it like this:
auto window = make_shared<sf::RenderWindow>();
window->create(sf::VideoMode::getFullscreenModes()[0], "window", sf::Style::Fullscreen);
window->create(sf::VideoMode::getFullscreenModes()[0], "window", sf::Style::Fullscreen);
width and height of sf::VideoMode::getFullscreenModes()[0] are 3620 and 2036 but my screen size is 2560x1440, i use SFML v2.5.1
help me please