Playing through 0.4.0, while it feels amazing, it's just not at GZDoom level in terms of performance with vsync enabled. I beleive this will remediate that last remnant of input lag I detect in Duke 3D games.
I don't know enough about the game to say what the 'smoothRatio' integer does in the rest of the file, but it's mentioned 40 times and is redefined at multiple points throughout the code. Whether it can be removed entirely or not, I'm not sure.
Code: Select all
int const smoothRatio = calc_smoothratio(totalclock, ototalclock)
Code: Select all
smoothRatio = 65536