aboutsummaryrefslogtreecommitdiff
path: root/src/client/mesh_generator_thread.cpp
diff options
context:
space:
mode:
authorx2048 <codeforsmile@gmail.com>2022-08-13 22:33:26 +0200
committerGitHub <noreply@github.com>2022-08-13 22:33:26 +0200
commitd1cbb4bd8a3fea147032fde63fdc4f5298f20217 (patch)
treeeab23e9a249b59fd742c8fd4bd313f7d14f0af43 /src/client/mesh_generator_thread.cpp
parent0e439b2fa3f0ba4f3352273519c32ebc9c3a680e (diff)
downloadminetest-d1cbb4bd8a3fea147032fde63fdc4f5298f20217.tar.xz
Reduce the use of porting::getTimeMs() when rendering frames (#12679)
* Avoid calling TimeTaker too frequently in renderMapXXX * Calculate animation timer once per frame * Remove code that breaks rendering frame at 2000ms Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'src/client/mesh_generator_thread.cpp')
0 files changed, 0 insertions, 0 deletions