STB used for loading and writing images.
This commit is contained in:
marauder2k7 2023-11-30 09:09:13 +00:00
parent d671f2611e
commit 108ba34c08
21 changed files with 20355 additions and 1737 deletions

View file

@ -506,11 +506,11 @@ void TSLastDetail::_update()
FileStream stream;
if ( stream.open( imposterPath, Torque::FS::File::Write ) )
destBmp.writeBitmap( "png", stream );
destBmp.writeBitmap( "png", imposterPath);
stream.close();
if ( stream.open( normalsPath, Torque::FS::File::Write ) )
destNormal.writeBitmap( "png", stream );
destNormal.writeBitmap( "png", normalsPath);
stream.close();
}