diff --git a/simgear/scene/material/Effect.cxx b/simgear/scene/material/Effect.cxx index b7eb0b7a..823c61dc 100644 --- a/simgear/scene/material/Effect.cxx +++ b/simgear/scene/material/Effect.cxx @@ -1481,10 +1481,8 @@ void mergeSchemesFallbacks(Effect *effect, const SGReaderWriterOptions *options) // Walk the techniques property tree, building techniques and // passes. -static std::mutex realizeTechniques_lock; bool Effect::realizeTechniques(const SGReaderWriterOptions* options) { - std::lock_guard g(realizeTechniques_lock); if (getPropertyRoot()->getBoolValue("/sim/version/compositor-support", false)) mergeSchemesFallbacks(this, options);