From cf8bd843626d0df763be4c46d4ba9fce718dd5f4 Mon Sep 17 00:00:00 2001 From: Ayla Date: Sun, 18 Sep 2011 13:21:03 +0200 Subject: [PATCH] Added debug message which is displayed when surfaces are deleted from memory. --- src/surfacecollection.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/surfacecollection.cpp b/src/surfacecollection.cpp index 8d4b970..60f7ec1 100644 --- a/src/surfacecollection.cpp +++ b/src/surfacecollection.cpp @@ -142,6 +142,8 @@ void SurfaceCollection::del(const string &path) { delete i->second; surfaces.erase(i); } + + DEBUG("Unloading skin surface: '%s'\n", path.c_str()); } void SurfaceCollection::clear() {