From 172056e7598d3447c682a694d824041076f3255e Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Mon, 24 Feb 2014 03:25:05 +0000 Subject: M trunk/CHANGELOG.TXT M trunk/background.h M trunk/effects.h M trunk/global.h M trunk/hge/CxImage/ximagif.cpp M trunk/hge/CxImage/ximaint.cpp M trunk/hge/CxImage/ximapng.cpp M trunk/hge/graphics.cpp M trunk/hge/input.cpp M trunk/hge/resource.cpp M trunk/hge/sound.cpp M trunk/hge/system.cpp M trunk/hgehelp/hgefont.cpp M trunk/levels.h M trunk/libcgh.h M trunk/libcghEx.cpp M trunk/menuitem.cpp M trunk/menuitem.h M trunk/menus.h M trunk/music.h M trunk/scorec.h M trunk/scoresystem.h M trunk/towernbullet.h --- hge/CxImage/ximapng.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hge/CxImage/ximapng.cpp') diff --git a/hge/CxImage/ximapng.cpp b/hge/CxImage/ximapng.cpp index b732491..2e39d1b 100644 --- a/hge/CxImage/ximapng.cpp +++ b/hge/CxImage/ximapng.cpp @@ -85,7 +85,7 @@ bool CxImagePNG::Decode(CxFile *hFile) png_read_info(png_ptr, info_ptr); png_uint_32 _width,_height; - int _bit_depth,_color_type,_interlace_type,_compression_type,_filter_type; + int _bit_depth,_color_type,_interlace_type/*,_compression_type,_filter_type*/; #if PNG_LIBPNG_VER > 10399 png_get_IHDR(png_ptr,info_ptr,&_width,&_height,&_bit_depth,&_color_type, &_interlace_type,&_compression_type,&_filter_type); @@ -95,8 +95,8 @@ bool CxImagePNG::Decode(CxFile *hFile) _bit_depth=info_ptr->bit_depth; _color_type=info_ptr->color_type; _interlace_type=info_ptr->interlace_type; - _compression_type=info_ptr->compression_type; - _filter_type=info_ptr->filter_type; + //_compression_type=info_ptr->compression_type; + //_filter_type=info_ptr->filter_type; #endif if (info.nEscape == -1){ -- cgit v1.2.3