diff --git a/sgp/PngLoader.cpp b/sgp/PngLoader.cpp index 93daede1f..341c03b4b 100644 --- a/sgp/PngLoader.cpp +++ b/sgp/PngLoader.cpp @@ -640,7 +640,7 @@ bool LoadPNGFileToImage(HIMAGE hImage, UINT16 fContents) return true; } - +/* bool LoadJPCFileToImage(HIMAGE hImage, UINT16 fContents) { if(!getVFS()->fileExists(hImage->ImageFile)) @@ -810,7 +810,7 @@ bool LoadJPCFileToImage(HIMAGE hImage, UINT16 fContents) } return success; } - +*/ void Load32bppPNGImage(HIMAGE hImage, png::png_bytepp rows, png::png_infop info) { diff --git a/sgp/PngLoader.h b/sgp/PngLoader.h index c4631ce39..360006721 100644 --- a/sgp/PngLoader.h +++ b/sgp/PngLoader.h @@ -6,7 +6,7 @@ bool LoadPNGFileToImage(HIMAGE hImage, UINT16 fContents); -bool LoadJPCFileToImage(HIMAGE hImage, UINT16 fContents); +//bool LoadJPCFileToImage(HIMAGE hImage, UINT16 fContents); #endif // _PNGLOADER_H_ diff --git a/sgp/himage.cpp b/sgp/himage.cpp index f2c84bdd7..8a77994b4 100644 --- a/sgp/himage.cpp +++ b/sgp/himage.cpp @@ -261,10 +261,11 @@ BOOLEAN LoadImageData( HIMAGE hImage, UINT16 fContents ) fReturnVal = LoadPNGFileToImage( hImage, fContents ); break; + /* case JPC_FILE_READER: fReturnVal = LoadJPCFileToImage( hImage, fContents ); break; - + */ default: DbgMessage( TOPIC_HIMAGE, DBG_LEVEL_2, "Unknown image loader was specified." );