aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/image.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/image.hpp')
-rw-r--r--src/utils/image.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/image.hpp b/src/utils/image.hpp
index e27dc49d..b968652c 100644
--- a/src/utils/image.hpp
+++ b/src/utils/image.hpp
@@ -51,15 +51,15 @@ namespace usdx
static log4cpp::Category& log;
boost::filesystem::wpath filename;
- SDL_Surface* surface;
+ mutable SDL_Surface* surface;
- void load(void);
+ void load(void) const;
public:
Image(boost::filesystem::wpath filename);
virtual ~Image();
- SDL_Surface* get_surface(void);
+ const SDL_Surface* get_surface(void) const;
};
};