MineCraft-One-Week-Challenge icon indicating copy to clipboard operation
MineCraft-One-Week-Challenge copied to clipboard

Strange behaviour with more than one monitor

Open StaleHyena opened this issue 7 years ago • 5 comments

More specifically, when in fullscreen the game spans multiple monitors like in the picture. I'm trying to find a solution, but i'm a noob when it comes to openGL https://imgur.com/SdBnko8

StaleHyena avatar Oct 14 '17 12:10 StaleHyena

That's weird, it only goes to a single monitor for me o_O

Hopson97 avatar Oct 14 '17 13:10 Hopson97

undefined behaviour it is then, i'm trying to debug it

StaleHyena avatar Oct 14 '17 21:10 StaleHyena

Pinned down the source, sf::VideoMode::getDesktopMode() returns the combined width of the monitors. I think this needs a "pre-game" GUI to setup to get right

StaleHyena avatar Oct 15 '17 06:10 StaleHyena

Okay, using the sf::VideoMode::getFullscreenModes() kinda works, but the user must choose what mode to use

StaleHyena avatar Oct 15 '17 07:10 StaleHyena

I have reverted the code base to an older version, it could be possible it works now :)

Hopson97 avatar Aug 04 '18 14:08 Hopson97