indigodarkwolf / box16

A fork of the official X16 emulator, converted to C++20 and with a bunch of features tweaked and added.
MIT License
41 stars 19 forks source link

Support all vsync strategies at runtime. #36

Closed jburks closed 2 years ago

jburks commented 2 years ago

Fix for #34

Enable support for all vsync strategies dynamically during display rendering. Command line and ini file options added to select vsync strategy to use at startup. Vsync strategy options are:

A menu settings option was also added to change the vsync strategy during runtime. This may need reconsideration. On systems where a driver issue is preventing get/wait from working since switching to them makes all rendered components (including the menu) freeze and become unusable. However on system with no such issues, it might be nice to allow users to change this setting through the menu.

indigodarkwolf commented 2 years ago

That looks great, thanks!