From 4c08fccf589e9c2eab87c53bae912b3f0d23b323 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 23 Oct 2011 23:31:23 +0100 Subject: GUI: Add support for PNG images in themes --- graphics/png.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'graphics/png.h') diff --git a/graphics/png.h b/graphics/png.h index 3f8ea85320..25f9c1e7bc 100644 --- a/graphics/png.h +++ b/graphics/png.h @@ -23,20 +23,11 @@ /* * PNG decoder used in engines: * - sword25 + * - ScummVM GUI * Dependencies: * - zlib */ -// Currently, only the sword25 engine uses the PNG decoder, so skip compiling -// it if sword25 is not enabled, or if zlib (a required dependency) is not -// enabled. - -#if !(defined(ENABLE_SWORD25) || defined(USE_ZLIB)) - -// Do not compile the PNG decoder code - -#else - #ifndef GRAPHICS_PNG_H #define GRAPHICS_PNG_H @@ -176,5 +167,3 @@ private: } // End of Graphics namespace #endif // GRAPHICS_PNG_H - -#endif // Engine and zlib guard -- cgit v1.2.3 From c2c8108f3bda8b7f4b4ba930e77b62ef6ffdd0ae Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 5 Jan 2012 10:33:00 +0100 Subject: GRAPHICS: The PNG decoder is not used by our GUI. --- graphics/png.h | 1 - 1 file changed, 1 deletion(-) (limited to 'graphics/png.h') diff --git a/graphics/png.h b/graphics/png.h index 25f9c1e7bc..078c76fc6b 100644 --- a/graphics/png.h +++ b/graphics/png.h @@ -23,7 +23,6 @@ /* * PNG decoder used in engines: * - sword25 - * - ScummVM GUI * Dependencies: * - zlib */ -- cgit v1.2.3