Skip to main content
gamedev.net
🔒 Locked

Fullscreen Refesh Rate

Started by Johnny123 1 reply 1k views
Original Post
Johnny123
Johnny123
I'm using SDL in my current project, and when in fullscreen, opengl defaults to 60khz refresh rate (windows xp). From what I can gather, it is beyond SDL's limits to set the refresh rate. But how would you go about setting OpenGL's refresh rate outside of SDL? I know it's possible, a lot of other libraries do it.
_the_phantom_
_the_phantom_
You have to use OS specific calls to change that, on Win32 for example you'd do it at the same time as you change the rez and into fullscreen mode
Johnny123
Johnny123
That's what I'm looking for, the api calls to tell windows to use a specific full screen refresh rate.

(I use SDL to set up the window, and resolution, etc)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.