mirror of
https://github.com/minetest/minetest.git
synced 2024-12-25 15:42:24 +01:00
Remove FPS from being next to the version string
This commit is contained in:
parent
95be18a3c1
commit
2fee2baf98
@ -3217,9 +3217,8 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
|
|||||||
}
|
}
|
||||||
else if(show_hud || show_chat)
|
else if(show_hud || show_chat)
|
||||||
{
|
{
|
||||||
u16 fps = (1.0/dtime_avg1);
|
|
||||||
std::ostringstream os(std::ios_base::binary);
|
std::ostringstream os(std::ios_base::binary);
|
||||||
os<<"Minetest "<<minetest_version_hash <<" FPS = "<<fps;
|
os<<"Minetest "<<minetest_version_hash;
|
||||||
guitext->setText(narrow_to_wide(os.str()).c_str());
|
guitext->setText(narrow_to_wide(os.str()).c_str());
|
||||||
guitext->setVisible(true);
|
guitext->setVisible(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user