fix interpolation issue

This commit is contained in:
Sonic Dreamcaster
2024-12-22 16:59:38 -03:00
parent bcf12744d2
commit 1f58393532
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -385,7 +385,7 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
uint32_t GameEngine::GetInterpolationFPS() {
if (Ship::Context::GetInstance()->GetWindow()->GetWindowBackend() == Ship::WindowBackend::FAST3D_DXGI_DX11) {
return CVarGetInteger("gInterpolationFPS", 20);
return CVarGetInteger("gInterpolationFPS", 60);
}
if (CVarGetInteger("gMatchRefreshRate", 0)) {
@@ -393,7 +393,7 @@ uint32_t GameEngine::GetInterpolationFPS() {
}
return std::min<uint32_t>(Ship::Context::GetInstance()->GetWindow()->GetCurrentRefreshRate(),
CVarGetInteger("gInterpolationFPS", 20));
CVarGetInteger("gInterpolationFPS", 60));
}
extern "C" uint32_t GameEngine_GetSampleRate() {