changeset 135:311ea7977d1f

changed PNG loader to use internal inflating
author Frank Benoit <benoit@tionex.de>
date Mon, 21 Jan 2008 18:40:58 +0100
parents 116d23207a86
children bdc6819466b7
files dwt/internal/image/PNGFileFormat.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/internal/image/PNGFileFormat.d	Mon Jan 21 18:38:19 2008 +0100
+++ b/dwt/internal/image/PNGFileFormat.d	Mon Jan 21 18:40:58 2008 +0100
@@ -310,7 +310,7 @@
     InputStream stream = new PngInputStream(chunk, chunkReader);
     //TEMPORARY CODE
     //PORTING_FIXME
-    bool use3_2 = false;//System.getProperty("dwt.internal.image.PNGFileFormat_3.2") !is null;
+    bool use3_2 = true;//System.getProperty("dwt.internal.image.PNGFileFormat_3.2") !is null;
     InputStream inflaterStream = use3_2 ? null : Compatibility.newInflaterInputStream(stream);
     if (inflaterStream !is null) {
         stream = new BufferedInputStream(inflaterStream);