mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-17 07:11:48 +01:00
Fix digging
This commit is contained in:
@@ -18,4 +18,7 @@ Texture * TextureManager::GetTexture(const std::string& name) {
|
||||
}
|
||||
TextureManager::~TextureManager() {
|
||||
//TODO: Loop over the m_Textures to delete them
|
||||
for ( const auto &p : m_Textures ) {
|
||||
delete p.second;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user