mirror of
https://github.com/minetest/minetest.git
synced 2024-09-12 00:26:50 +02:00
Perform mesh animation only once per frame.
This commit is contained in:
parent
a5ee7139a5
commit
3ad68c052b
@ -470,7 +470,7 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
|
||||
continue;
|
||||
|
||||
// Mesh animation
|
||||
{
|
||||
if (pass == scene::ESNRP_SOLID) {
|
||||
//MutexAutoLock lock(block->mesh_mutex);
|
||||
MapBlockMesh *mapBlockMesh = block->mesh;
|
||||
assert(mapBlockMesh);
|
||||
|
Loading…
Reference in New Issue
Block a user