Closed Rosalie241 closed 3 years ago
This might actually solve #1284 #1534, this part sounds suspicious
if the renderer takes slightly longer than the v-blank intervals to render, say 18ms, then a different problem can result. It will effectively take two full v-blank intervals to display an image to the user, turning a 60fps program into a 30fps program.
Because this is the effect it had on me while playing something like Mario Tennis using like 5x-6x resolution factor, the framerate would sometimes stutter/halve. I gotta try this later, see if it had any effect.
From https://www.khronos.org/opengl/wiki/Swap_Interval:
I think this behavior is undesirable for end-users, so this patch makes
WindowsWGL
use adaptive vsync instead (when supported), which works in a different way:I personally feel like such behavior is more desirable, because before this patch, some users were complaining that sometimes their game would halve in speed for some time when vsync was enabled due to some slowdown (i.e vsync would force the game at 30 Hz instead of 60 Hz).