VSync with D3D9/OpenGL

Started by glurex, Tue 21/02/2023 00:03:35

Previous topic - Next topic

glurex

This maybe it's a silly question but... Is there any way in game to set VSync true/false with D3D9 or OpenGL? (System.VSync only works with Software Render)

I know I can set this from the editor (Default Setup), but it would be nice if the user can change it via a GUI inside the game.   

Khris

The manual says

"Not all renderers support changing vsync at runtime. If current one does not, then trying to change System.VSync will have no effect."

So if it doesn't work with the hardware renderers, then there's no way to do it.


glurex

Quote from: Crimson Wizard on Tue 21/02/2023 20:08:58This was done in the experimental branch, but now added to 3.6.0 in the latest update.
https://www.adventuregamestudio.co.uk/forums/ags-engine-editor-releases/ags-3-6-0-release-candidate-rc1/msg636653570/#msg636653570

Wow thanks, CW! I'll be testing it. I'm on 3.5.1 but that's an excellent reason to "migrate" to 3.6.0.

SMF spam blocked by CleanTalk