From 6e94f29ee2c11daf8aea45fe688ec3d5d916d94d Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 15 Nov 2016 21:55:22 +0000 Subject: [PATCH] Default internal frame wait counter to 17ms to match the default r_maxfps value of 60. Fixes issue where the framerate counter wasn't enforced after setting it to 60 and restarting the game. git-svn-id: https://svn.eduke32.com/eduke32@5936 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 57bd4d088..192cbf409 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -120,7 +120,7 @@ int32_t hud_showmapname = 1; int32_t g_levelTextTime = 0; int32_t r_maxfps = 60; -uint32_t g_frameDelay = 0; +uint32_t g_frameDelay = 17; #if defined(RENDERTYPEWIN) && defined(USE_OPENGL) extern char forcegl;