aboutsummaryrefslogtreecommitdiff
path: root/resource-manager/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'resource-manager/main.cpp')
-rw-r--r--resource-manager/main.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/resource-manager/main.cpp b/resource-manager/main.cpp
index 6b3a23e..0148555 100644
--- a/resource-manager/main.cpp
+++ b/resource-manager/main.cpp
@@ -15,8 +15,6 @@
#include <SDL_timer.h>
#include <SDL_video.h>
#include <cstddef>
-#include <iostream>
-#include <ostream>
int main() {
SDL_Init(SDL_INIT_VIDEO);
@@ -32,8 +30,8 @@ int main() {
SDL_Renderer * renderer = SDL_CreateRenderer(window, -1, 0);
-
- ResourceManager * rm = new ResourceManager();
+
+ ResourceManager* rm = ResourceManager::get_instance();
ResourceConverter resource_converter;
Texture* img = rm->Load<Texture>("../img.png");