diff options
Diffstat (limited to '')
-rw-r--r-- | src/utils/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/image.cpp b/src/utils/image.cpp index 4146e0e4..93808f2e 100644 --- a/src/utils/image.cpp +++ b/src/utils/image.cpp @@ -58,7 +58,7 @@ namespace usdx } } - void Image::load(void) + void Image::load(void) const { BinaryFile file(filename); @@ -73,7 +73,7 @@ namespace usdx } } - SDL_Surface* Image::get_surface(void) + const SDL_Surface* Image::get_surface(void) const { if (surface == NULL) { load(); |