Skip to content

Commit

Permalink
hide this function until I know what to do with it
Browse files Browse the repository at this point in the history
  • Loading branch information
majcosta committed Dec 15, 2024
1 parent 69f792f commit cc8f59d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sgp/PngLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ bool LoadPNGFileToImage(HIMAGE hImage, UINT16 fContents)
return true;
}


/*
bool LoadJPCFileToImage(HIMAGE hImage, UINT16 fContents)
{
if(!getVFS()->fileExists(hImage->ImageFile))
Expand Down Expand Up @@ -810,7 +810,7 @@ bool LoadJPCFileToImage(HIMAGE hImage, UINT16 fContents)
}
return success;
}

*/

void Load32bppPNGImage(HIMAGE hImage, png::png_bytepp rows, png::png_infop info)
{
Expand Down
2 changes: 1 addition & 1 deletion sgp/PngLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down
3 changes: 2 additions & 1 deletion sgp/himage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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." );
Expand Down

0 comments on commit cc8f59d

Please sign in to comment.