| @@ -9,7 +9,6 @@ | |||||
| #include <engine/Engine.hpp> | #include <engine/Engine.hpp> | ||||
| #include <settings.hpp> | #include <settings.hpp> | ||||
| #include <system.hpp> | #include <system.hpp> | ||||
| #include <random.hpp> | |||||
| #include <context.hpp> | #include <context.hpp> | ||||
| #include <patch.hpp> | #include <patch.hpp> | ||||
| #include <plugin.hpp> | #include <plugin.hpp> | ||||
| @@ -523,7 +522,6 @@ void Engine::stepBlock(int frames) { | |||||
| SharedLock<SharedMutex> lock(internal->mutex); | SharedLock<SharedMutex> lock(internal->mutex); | ||||
| // Configure thread | // Configure thread | ||||
| system::resetFpuFlags(); | system::resetFpuFlags(); | ||||
| random::init(); | |||||
| internal->blockFrame = internal->frame; | internal->blockFrame = internal->frame; | ||||
| internal->blockTime = system::getTime(); | internal->blockTime = system::getTime(); | ||||
| @@ -1337,7 +1335,6 @@ void EngineWorker::run() { | |||||
| contextSet(engine->internal->context); | contextSet(engine->internal->context); | ||||
| system::setThreadName(string::f("Worker %d", id)); | system::setThreadName(string::f("Worker %d", id)); | ||||
| system::resetFpuFlags(); | system::resetFpuFlags(); | ||||
| random::init(); | |||||
| while (true) { | while (true) { | ||||
| engine->internal->engineBarrier.wait(); | engine->internal->engineBarrier.wait(); | ||||