From a08f5acf483d5371ccab70ba75c39ac6a5f96ce7 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Mon, 30 Sep 2024 10:56:13 +0200 Subject: changed resource manager based on feedback --- resource-manager/resource_manager.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'resource-manager/resource_manager.cpp') 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 -#include #include 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(); } -- cgit v1.2.3