mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
STBImage
STB used for loading and writing images.
This commit is contained in:
parent
d671f2611e
commit
108ba34c08
21 changed files with 20355 additions and 1737 deletions
|
|
@ -251,9 +251,9 @@ bool GFXTextureObject::dumpToDisk( const String &bmType, const String &path )
|
|||
return false;
|
||||
|
||||
if ( mBitmap )
|
||||
return mBitmap->writeBitmap( bmType, stream );
|
||||
return mBitmap->writeBitmap( bmType, path);
|
||||
|
||||
GBitmap bitmap( getWidth(), getHeight(), false, getFormat() );
|
||||
copyToBmp( &bitmap );
|
||||
return bitmap.writeBitmap( bmType, stream );
|
||||
return bitmap.writeBitmap( bmType, path);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue