summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-19 13:07:08 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-19 13:07:08 +0000
commit919d5a60b08bb39114d73295c59290a6c3402a76 (patch)
treeb3173d271d30cfbf69c324b14daf94286219fa68 /src/resources/image.cpp
parent360b1d4d6ca420ae98f87af166d739b34f05de22 (diff)
downloadmana-client-919d5a60b08bb39114d73295c59290a6c3402a76.tar.gz
mana-client-919d5a60b08bb39114d73295c59290a6c3402a76.tar.bz2
mana-client-919d5a60b08bb39114d73295c59290a6c3402a76.tar.xz
mana-client-919d5a60b08bb39114d73295c59290a6c3402a76.zip
Fixed searching for zip files in Linux, fixed initialization of PhysFS to be
before it is used and added a start on the map reader.
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;