mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Extract fps counter drawing
This commit is contained in:
@ -537,9 +537,6 @@ void CGPreGame::update()
|
||||
// /FIXME: find out why GH.listInt is empty to begin with
|
||||
if (GH.topInt() != nullptr)
|
||||
GH.topInt()->show(screen);
|
||||
|
||||
if (settings["general"]["showfps"].Bool())
|
||||
GH.drawFPSCounter();
|
||||
}
|
||||
|
||||
void CGPreGame::openCampaignScreen(std::string name)
|
||||
|
Reference in New Issue
Block a user