Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
General discussions
»
Auto-select resolution
Print
Pages: [
1
]
Author
Topic: Auto-select resolution (Read 3290 times)
0 Members and 1 Guest are viewing this topic.
aqnuep
Newbie
Posts: 7
Auto-select resolution
«
on:
March 09, 2010, 08:33:41 pm »
Hi,
I have the problem that my application shall automatically choose resolution. In case 1024x768 is available then it should choose that one or if not than it shall gracefully fall back to 800x600.
Is there an easy way to do this using SFML?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Auto-select resolution
«
Reply #1 on:
March 09, 2010, 08:35:57 pm »
Look at sf::VideoMode and its static functions.
Logged
Laurent Gomila - SFML developer
aqnuep
Newbie
Posts: 7
Auto-select resolution
«
Reply #2 on:
March 09, 2010, 08:54:10 pm »
Thanks for the quick answer and sorry for the stupid question just it was quite urgent and I didn't have the time to look carefully through the source.
Logged
Print
Pages: [
1
]
SFML community forums
»
General
»
General discussions
»
Auto-select resolution