diff options
Diffstat (limited to 'src/mesh_generator_thread.h')
-rw-r--r-- | src/mesh_generator_thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh_generator_thread.h b/src/mesh_generator_thread.h index 6edb6906d..3ac086e30 100644 --- a/src/mesh_generator_thread.h +++ b/src/mesh_generator_thread.h @@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef MESH_GENERATOR_THREAD_HEADER #define MESH_GENERATOR_THREAD_HEADER +#include <mutex> #include "mapblock_mesh.h" #include "threading/mutex_auto_lock.h" #include "util/thread.h" @@ -83,7 +84,7 @@ private: std::vector<QueuedMeshUpdate *> m_queue; std::set<v3s16> m_urgents; std::map<v3s16, CachedMapBlockData *> m_cache; - Mutex m_mutex; + std::mutex m_mutex; // TODO: Add callback to update these when g_settings changes bool m_cache_enable_shaders; |