aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/LoopManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/LoopManager.h')
-rw-r--r--src/crepe/api/LoopManager.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/crepe/api/LoopManager.h b/src/crepe/api/LoopManager.h
index 487f07a..50d91d2 100644
--- a/src/crepe/api/LoopManager.h
+++ b/src/crepe/api/LoopManager.h
@@ -12,7 +12,7 @@
#include "../manager/SceneManager.h"
#include "../system/System.h"
-#include "api/Event.h"
+#include "LoopTimer.h"
namespace crepe {
/**
@@ -86,9 +86,8 @@ private:
ResourceManager resource_manager{mediator};
//! Save manager instance
SaveManager save_manager{mediator};
-
- //! SDL context \todo no more singletons!
- SDLContext & sdl_context = SDLContext::get_instance();
+ //! SDLContext instance
+ SDLContext sdl_context{mediator};
private:
/**