From f87af01760b8a5237010b177aa1cc7d26f57e0fc Mon Sep 17 00:00:00 2001 From: Alex Foster <123afoster@gmail.com> Date: Tue, 2 Mar 2021 23:56:18 -0800 Subject: [PATCH] move getfps header entry to renderwindow defined in renderwindow --- src/engine/interface/control.h | 1 - src/engine/render/renderwindow.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/interface/control.h b/src/engine/interface/control.h index 598a46db5..3bbd96bb3 100644 --- a/src/engine/interface/control.h +++ b/src/engine/interface/control.h @@ -29,7 +29,6 @@ extern int scr_w, scr_h; extern float loadprogress; -extern void getfps(int &fps, int &bestdiff, int &worstdiff); extern int getclockmillis(); diff --git a/src/engine/render/renderwindow.h b/src/engine/render/renderwindow.h index 35225135f..f085eeceb 100644 --- a/src/engine/render/renderwindow.h +++ b/src/engine/render/renderwindow.h @@ -14,6 +14,7 @@ extern void cleargamma(); extern void restorevsync(); extern void resetfpshistory(); extern void limitfps(int &millis, int curmillis); +extern void getfps(int &fps, int &bestdiff, int &worstdiff); extern void updatefpshistory(int millis); extern void renderbackground(const char *caption = nullptr, Texture *mapshot = nullptr, const char *mapname = nullptr, const char *mapinfo = nullptr, bool force = false);