summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-03 17:04:56 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-03 17:51:24 +0300
commit4dc93e343e0fb4990320e1056bca666e8ce8c3d9 (patch)
treed2a9220f19605f450942a0a38a18512916a3e500 /src/resources/resourcemanager.h
parent42411c8963eec06448a5dbf565add0540d6987f1 (diff)
downloadmanaplus-4dc93e343e0fb4990320e1056bca666e8ce8c3d9.tar.gz
manaplus-4dc93e343e0fb4990320e1056bca666e8ce8c3d9.tar.bz2
manaplus-4dc93e343e0fb4990320e1056bca666e8ce8c3d9.tar.xz
manaplus-4dc93e343e0fb4990320e1056bca666e8ce8c3d9.zip
fix memory problems with atlases.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 432d404b6..6f8b386f0 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -225,7 +225,7 @@ class ResourceManager final
*/
void release(Resource *const res);
- void clearDeleted();
+ void clearDeleted(bool full = true);
static void logResource(const Resource *const res);