From 5f1fab04d9afcca464e57d0426a21eaa796d1f4b Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Thu, 25 Oct 2018 04:18:37 +0200 Subject: [PATCH] remove old 125 fps workaround since it isn't needed anymore --- src/render.c | 3 --- src/render_d3d9.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/render.c b/src/render.c index 58f301c..ad87591 100644 --- a/src/render.c +++ b/src/render.c @@ -149,9 +149,6 @@ static void SetMaxFPS(int baseMaxFPS) if (MaxFPS < 0) MaxFPS = ddraw->mode.dmDisplayFrequency; - if (MaxFPS == 0) - MaxFPS = 125; - if (MaxFPS >= 1000) MaxFPS = 0; diff --git a/src/render_d3d9.c b/src/render_d3d9.c index 15a101a..67d081c 100644 --- a/src/render_d3d9.c +++ b/src/render_d3d9.c @@ -244,9 +244,6 @@ static void SetMaxFPS() if (MaxFPS < 0) MaxFPS = ddraw->mode.dmDisplayFrequency; - if (MaxFPS == 0) - MaxFPS = 125; - if (MaxFPS >= 1000 || ddraw->vsync) MaxFPS = 0;