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

Author Topic: Fullscreen mode? (non-windowed way)  (Read 2835 times)

0 Members and 1 Guest are viewing this topic.

Astrof

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Fullscreen mode? (non-windowed way)
« on: January 30, 2009, 03:42:58 am »
Probably a noob question: is there a way to set fullscreen but keeping an aspect ratio? (Like setting the monitor's resolution to 1024*768 and then fullscreening the window w/o the title bar scrolling across?)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Fullscreen mode? (non-windowed way)
« Reply #1 on: January 30, 2009, 07:58:33 am »
When you switch to fullscreen you pass the target resolution, just like in non-fullscreen mode.
Laurent Gomila - SFML developer

Astrof

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Fullscreen mode? (non-windowed way)
« Reply #2 on: January 30, 2009, 04:43:07 pm »
sorry, my question was how do I switch to fullscreen.
I figured it out, just have to pass in the flag (haha silly me).

sorry bout that.