aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/image/swimage.cpp
diff options
context:
space:
mode:
authormd52011-05-26 11:44:52 +0300
committermd52011-05-26 11:46:42 +0300
commitd5050463d52ef396f4e91e7780424ed19dd79fd2 (patch)
treef0b55b857263855f6b4bc12314874feb81d96730 /engines/sword25/gfx/image/swimage.cpp
parent984f53ac14cb0124caab39aba3e712dfc49a8ef5 (diff)
downloadscummvm-rg350-d5050463d52ef396f4e91e7780424ed19dd79fd2.tar.gz
scummvm-rg350-d5050463d52ef396f4e91e7780424ed19dd79fd2.tar.bz2
scummvm-rg350-d5050463d52ef396f4e91e7780424ed19dd79fd2.zip
SWORD25: Removed the leftover libpng code
Diffstat (limited to 'engines/sword25/gfx/image/swimage.cpp')
-rw-r--r--engines/sword25/gfx/image/swimage.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/sword25/gfx/image/swimage.cpp b/engines/sword25/gfx/image/swimage.cpp
index 92d47368b2..0978eb5ac1 100644
--- a/engines/sword25/gfx/image/swimage.cpp
+++ b/engines/sword25/gfx/image/swimage.cpp
@@ -53,14 +53,6 @@ SWImage::SWImage(const Common::String &filename, bool &result) :
return;
}
-#ifndef USE_INTERNAL_PNG_DECODER
- // Determine image properties
- if (!PNGLoader::imageProperties(pFileData, fileSize, _width, _height)) {
- error("Could not read image properties.");
- return;
- }
-#endif
-
// Uncompress the image
int pitch;
byte *pUncompressedData;