diff --git a/simgear/scene/material/Effect.cxx b/simgear/scene/material/Effect.cxx index ceb9f137..e5b3f5fa 100644 --- a/simgear/scene/material/Effect.cxx +++ b/simgear/scene/material/Effect.cxx @@ -1485,11 +1485,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 (_isRealized) return true;