Disable interpolation for ramses head scene

This commit is contained in:
nukeykt 2019-11-05 15:03:52 +09:00 committed by Christoph Oelckers
parent 6f9cdaccfc
commit cb0e728722

View file

@ -1988,7 +1988,7 @@ static inline int32_t calc_smoothratio(ClockTicks totalclk, ClockTicks ototalclk
// { // {
// return 65536; // return 65536;
// } // }
if (bRecord || bPlayback) if (bRecord || bPlayback || nFreeze != 0)
return 65536; return 65536;
int32_t rfreq = (refreshfreq != -1 ? refreshfreq : 60); int32_t rfreq = (refreshfreq != -1 ? refreshfreq : 60);
uint64_t elapsedFrames = tabledivide64(((uint64_t) (totalclk - ototalclk).toScale16()) * rfreq, 65536*120); uint64_t elapsedFrames = tabledivide64(((uint64_t) (totalclk - ototalclk).toScale16()) * rfreq, 65536*120);