From 180893e79dd358d2f8f720b200a62daa2838e341 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sun, 7 Feb 2016 04:24:24 +0100 Subject: Remove ClientMap::m_camera_mutex All places that lock this mutex are only called by the main thread: ClientMap::updateCamera(), ClientMap::updateDrawList(), ClientMap::renderMap(), ClientMap::renderPostFx(). --- src/clientmap.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/clientmap.h') diff --git a/src/clientmap.h b/src/clientmap.h index 54d1dc96d..d9239b52e 100644 --- a/src/clientmap.h +++ b/src/clientmap.h @@ -89,7 +89,6 @@ public: void updateCamera(v3f pos, v3f dir, f32 fov, v3s16 offset) { - MutexAutoLock lock(m_camera_mutex); m_camera_position = pos; m_camera_direction = dir; m_camera_fov = fov; @@ -149,7 +148,6 @@ private: v3f m_camera_direction; f32 m_camera_fov; v3s16 m_camera_offset; - Mutex m_camera_mutex; std::map m_drawlist; -- cgit v1.2.3