summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager/resourcemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resourcemanager/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index 0764fe94f..74d079541 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -652,7 +652,7 @@ int calcMemoryLocal()
int sz = 24;
FOR_EACH (std::set<SDL_Surface*>::iterator, it, deletedSurfaces)
{
- sz += memoryManager.getSurfaceSize(*it);
+ sz += MemoryManager::getSurfaceSize(*it);
}
return sz;
}
@@ -681,7 +681,7 @@ int calcMemory(const int level)
{
const int sumLocal = calcMemoryLocal();
const int sumChilds = calcMemoryChilds(0);
- memoryManager.printMemory("resource manager",
+ MemoryManager::printMemory("resource manager",
level,
sumLocal,
sumChilds);