From 45f076bd429c40d81607f43837f1cc571f3f6be0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Feb 2013 00:49:50 +0300 Subject: Improve a bit image load speed. --- src/resources/imagehelper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/imagehelper.h') 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; }; -- cgit v1.2.3-60-g2f50