From 0e2cefe251843d40dea2414c7519f231d61b4f08 Mon Sep 17 00:00:00 2001 From: Steel Titanium Date: Thu, 7 Mar 2019 18:52:27 -0500 Subject: [PATCH] Properly comment out the function --- src/sdl/i_video.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 10c78c71..53aa351c 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1325,7 +1325,8 @@ void I_UpdateNoBlit(void) // // Returns true if it thinks we can afford to skip this frame // from PrBoom's src/SDL/i_video.c -/*static inline boolean I_SkipFrame(void) +#if 0 +static inline boolean I_SkipFrame(void) { static boolean skip = false; @@ -1340,12 +1341,13 @@ void I_UpdateNoBlit(void) if (!paused) return false; /* FALLTHRU */ - /*case GS_WAITINGPLAYERS: + case GS_WAITINGPLAYERS: return skip; // Skip odd frames default: return false; } -}*/ +} +#endif // // I_FinishUpdate