summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-29 23:52:17 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-30 00:10:21 +0300
commit63bed529c78ca05d3e32a0b6ec3bcfd6152e53de (patch)
tree9d233f3ecf71452123f45b4563fef8be4308769b /src/resources/resourcemanager.h
parent27300ff284bbed3b6bce938071c3982e4a757680 (diff)
downloadmv-63bed529c78ca05d3e32a0b6ec3bcfd6152e53de.tar.gz
mv-63bed529c78ca05d3e32a0b6ec3bcfd6152e53de.tar.bz2
mv-63bed529c78ca05d3e32a0b6ec3bcfd6152e53de.tar.xz
mv-63bed529c78ca05d3e32a0b6ec3bcfd6152e53de.zip
Fix memory leak in desktop.cpp
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 0b73a796e..f70fbece4 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -228,6 +228,8 @@ class ResourceManager
void saveTextFile(std::string path, std::string name,
std::string text);
+ Image *getRescaled(Image *image, int width, int height);
+
/**
* Loads the given filename as an SDL surface. The returned surface is
* expected to be freed by the caller using SDL_FreeSurface.