|
@@ -95,12 +95,6 @@ Engine::Engine(Context* context) :
|
|
|
|
|
|
|
|
Engine::~Engine()
|
|
Engine::~Engine()
|
|
|
{
|
|
{
|
|
|
- // Remove subsystems that use SDL in reverse order of construction
|
|
|
|
|
- context_->RemoveSubsystem<Audio>();
|
|
|
|
|
- context_->RemoveSubsystem<UI>();
|
|
|
|
|
- context_->RemoveSubsystem<Input>();
|
|
|
|
|
- context_->RemoveSubsystem<Renderer>();
|
|
|
|
|
- context_->RemoveSubsystem<Graphics>();
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
bool Engine::Initialize(const VariantMap& parameters)
|
|
bool Engine::Initialize(const VariantMap& parameters)
|