summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index 3f2e9560..d30d6c92 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -198,7 +198,7 @@ Image* Image::load(const std::string &filePath, int flags)
#endif
}
-Image* Image::load(const char* buffer, const unsigned int bufferSize)
+Image* Image::load(const char* buffer, unsigned int bufferSize)
{
// Define our RWops structure
SDL_RWops* rw = NULL;