From d5050463d52ef396f4e91e7780424ed19dd79fd2 Mon Sep 17 00:00:00 2001 From: md5 Date: Thu, 26 May 2011 11:44:52 +0300 Subject: SWORD25: Removed the leftover libpng code --- engines/sword25/gfx/image/swimage.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'engines/sword25/gfx/image/swimage.cpp') 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; -- cgit v1.2.3