summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-10 00:49:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-10 03:07:44 +0300
commit45f076bd429c40d81607f43837f1cc571f3f6be0 (patch)
treed6559bb6fb9e87a4953a342cc4af0db8045ba1f4 /src/resources/imagehelper.h
parentf75a1e7af1db4be56430765e19a5aee75284dd3e (diff)
downloadmv-45f076bd429c40d81607f43837f1cc571f3f6be0.tar.gz
mv-45f076bd429c40d81607f43837f1cc571f3f6be0.tar.bz2
mv-45f076bd429c40d81607f43837f1cc571f3f6be0.tar.xz
mv-45f076bd429c40d81607f43837f1cc571f3f6be0.zip
Improve a bit image load speed.
Diffstat (limited to 'src/resources/imagehelper.h')
-rw-r--r--src/resources/imagehelper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h
index 19500f15a..e894bc66b 100644
--- a/src/resources/imagehelper.h
+++ b/src/resources/imagehelper.h
@@ -97,6 +97,8 @@ class ImageHelper
static void setEnableAlpha(const bool n)
{ mEnableAlpha = n; }
+ static SDL_Surface *loadPng(SDL_RWops *const rw);
+
protected:
static bool mEnableAlpha;
};