diff options
Diffstat (limited to 'src/engine/ingen_engine.cpp')
-rw-r--r-- | src/engine/ingen_engine.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/engine/ingen_engine.cpp b/src/engine/ingen_engine.cpp index 5d278803..2c728603 100644 --- a/src/engine/ingen_engine.cpp +++ b/src/engine/ingen_engine.cpp @@ -37,16 +37,12 @@ struct IngenEngineModule : public Ingen::Shared::Module { } }; -static IngenEngineModule* module = NULL; - extern "C" { Ingen::Shared::Module* -ingen_module_load() { - if (!module) - module = new IngenEngineModule(); - - return module; +ingen_module_load() +{ + return new IngenEngineModule(); } } // extern "C" |