From ae2ffd0a28835822a10d489544c05fdadbdd7a90 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 21 May 2020 14:59:51 +1000 Subject: [PATCH] [client] drop the default FPS target to 60 now that the fps is dynamic --- VERSION | 2 +- client/src/main.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 63148db4..affb43d2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-208-gc9ff1e1949+1 \ No newline at end of file +B1-209-g26eea64689+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index 07090acc..3a5643a7 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1332,12 +1332,12 @@ static int lg_run() SDL_DisplayMode current; if (SDL_GetCurrentDisplayMode(SDL_GetWindowDisplayIndex(state.window), ¤t) == 0) { - state.frameTime = 1e9 / (current.refresh_rate * 2); + state.frameTime = 1e9 / current.refresh_rate; } else { - DEBUG_WARN("Unable to capture monitor refresh rate using the default FPS Limit: 200"); - state.frameTime = 1e9 / 200; + DEBUG_WARN("Unable to capture monitor refresh rate using the default FPS Limit: 60"); + state.frameTime = 1e9 / 60; } } else