SFML community forums

Help => Graphics => Topic started by: AdrianM on March 06, 2009, 11:18:32 pm

Title: Custom Refresh Rate
Post by: AdrianM on March 06, 2009, 11:18:32 pm
I discovered SFML a few days ago and it seems pretty cool.

I was wondering, is there a way to change the refresh rate to something higher that 60 hz?
Title: Custom Refresh Rate
Post by: tireswing on March 06, 2009, 11:41:24 pm
I don't know of any way to ask for a video mode with a specific refresh rate.  If you ask for 800x600x32 and your monitor supports that resolution at both 60Hz and 75Hz, I'm not sure which video mode you'll get.  It looks to me like you get 60Hz.

Perhaps in the future a requested refresh rate can be added as part of the VideoMode structure.

Of course, I'm fairly new to SFML myself, so I could be wrong.
Title: Custom Refresh Rate
Post by: Laurent on March 06, 2009, 11:48:07 pm
The refresh rate is not controlled by SFML. You should rather take a look into your graphics card driver's settings. I guess you have vertical sync enabled.