diff options
author | Kahrl <kahrl@gmx.net> | 2016-02-07 04:24:24 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-02-09 07:16:00 +0000 |
commit | 180893e79dd358d2f8f720b200a62daa2838e341 (patch) | |
tree | 3bde44395154228069fd9392bf53905a5d9c2926 /src/clientmap.h | |
parent | 4adbd69a3701608876b50665ed3f7a150750d26e (diff) | |
download | minetest-180893e79dd358d2f8f720b200a62daa2838e341.tar.gz minetest-180893e79dd358d2f8f720b200a62daa2838e341.tar.bz2 minetest-180893e79dd358d2f8f720b200a62daa2838e341.zip |
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().
Diffstat (limited to 'src/clientmap.h')
-rw-r--r-- | src/clientmap.h | 2 |
1 files changed, 0 insertions, 2 deletions
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<v3s16, MapBlock*> m_drawlist; |