From 0e46138a14dcc5dad009f3435951e1f1777da90c Mon Sep 17 00:00:00 2001 From: Eidolon Date: Sun, 28 Sep 2025 00:00:21 -0500 Subject: [PATCH] Fix ABI issue with skiprender --- src/d_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index d5ddcafcf..18d18516e 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -843,6 +843,8 @@ static bool D_Display(bool world) tic_t rendergametic; +extern "C" consvar_t cv_skiprender; + void D_SRB2Loop(void) { tic_t entertic = 0, oldentertics = 0, realtics = 0, rendertimeout = INFTICS; @@ -1106,8 +1108,6 @@ void D_SRB2Loop(void) deltasecs = (double)((INT64)(finishprecise - enterprecise)) / I_GetPrecisePrecision(); deltatics = deltasecs * NEWTICRATE; - extern consvar_t cv_skiprender; - // If time spent this game loop exceeds a single tic, // it's probably because of rendering. //