Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Second monitor turns off  (Read 1657 times)

0 Members and 1 Guest are viewing this topic.

jakov

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • Email
Second monitor turns off
« on: March 16, 2013, 12:41:00 am »
Whenever I start a fullscreen window (using SFML-2) the 2nd monitor turns itself off. This happens in both Windows and Linux.

Is there a way to open  a fullscreen window without this happening?

Or is there any way to make a "normal" window lie on top and cover the entire screen, instead, in effect a "fake fullscreen"?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Re: Second monitor turns off
« Reply #1 on: March 16, 2013, 01:38:01 am »
Whenever I start a fullscreen window (using SFML-2) the 2nd monitor turns itself off. This happens in both Windows and Linux.

Is there a way to open  a fullscreen window without this happening?
Well it doesn't happen for me. I'd guess it's your graphics card/driver that does this.
What graphics card do you have and is the driver uptodate?

Can you run other games in fullscreen with the 2nd monitor not turning off?

Or is there any way to make a "normal" window lie on top and cover the entire screen, instead, in effect a "fake fullscreen"?
Yes you can do that too. Just set the window style to I think sf::Style::None and the resolution to sf::VideoMode::getDesktopMode().
Keep in mind though, that it will lead to a small FPS drop.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/