]> git.lizzy.rs Git - minetest.git/blobdiff - src/shader.cpp
make ret variable in /builtin/mainmenu/tab_credits.lua local (#5942)
[minetest.git] / src / shader.cpp
index 66f32c9a1846bc6e6439f63829841bbc72306698..1d3f2f6a1bb524e6c132838657ee016ffeff4416 100644 (file)
@@ -320,7 +320,7 @@ class ShaderSource : public IWritableShaderSource
        // The first position contains a dummy shader.
        std::vector<ShaderInfo> m_shaderinfo_cache;
        // The former container is behind this mutex
-       Mutex m_shaderinfo_cache_mutex;
+       std::mutex m_shaderinfo_cache_mutex;
 
        // Queued shader fetches (to be processed by the main thread)
        RequestQueue<std::string, u32, u8, u8> m_get_shader_queue;