diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-09-30 10:56:13 +0200 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-09-30 10:56:13 +0200 |
commit | a08f5acf483d5371ccab70ba75c39ac6a5f96ce7 (patch) | |
tree | 433be57896814c82625066ff901b1c7bc951c951 /resource-manager/resource_manager.cpp | |
parent | a6f3b8c71513a1a7d416ec57627836ed4d9a7d94 (diff) |
changed resource manager based on feedback
Diffstat (limited to 'resource-manager/resource_manager.cpp')
-rw-r--r-- | resource-manager/resource_manager.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/resource-manager/resource_manager.cpp b/resource-manager/resource_manager.cpp index 99918d1..1412592 100644 --- a/resource-manager/resource_manager.cpp +++ b/resource-manager/resource_manager.cpp @@ -3,14 +3,10 @@ #include "resource_manager.h" #include "constants.h" #include "resource.h" -#include "resource_fabricator.h" -#include <SDL2/SDL_image.h> -#include <SDL_render.h> #include <unordered_map> ResourceManager::ResourceManager(){ - IMG_Init(IMG_INIT_PNG); } ResourceManager::~ResourceManager(){ @@ -18,10 +14,6 @@ ResourceManager::~ResourceManager(){ for(auto pair : m_resources){ delete pair.second; } - - m_resources.clear(); - - IMG_Quit(); } |