mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-25 07:45:27 +01:00
Add some rendering statistics to profiler
This commit is contained in:
@@ -1071,6 +1071,7 @@ void the_game(
|
||||
object_hit_delay_timer -= dtime;
|
||||
|
||||
g_profiler->add("Elapsed time", dtime);
|
||||
g_profiler->avg("FPS", 1./dtime);
|
||||
|
||||
/*
|
||||
Log frametime for visualization
|
||||
|
||||
Reference in New Issue
Block a user