Skip to content

Commit

Permalink
move getfps header entry to renderwindow
Browse files Browse the repository at this point in the history
defined in renderwindow
  • Loading branch information
no-lex committed Mar 3, 2021
1 parent 2f07565 commit f87af01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/engine/interface/control.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();


Expand Down
1 change: 1 addition & 0 deletions src/engine/render/renderwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f87af01

Please sign in to comment.