mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-04 13:00:33 +00:00
adds profiling to the various gbitmap loaders*
*note, DDS bypasses the gbitmap method chain in question.
This commit is contained in:
parent
513789c2c7
commit
f889aebcea
8 changed files with 10 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ static S32 gifWriteDataFn(GifFileType *gifinfo, GifByteType *data, S32 length)
|
|||
//--------------------------------------
|
||||
static bool sReadGIF( Stream &stream, GBitmap *bitmap )
|
||||
{
|
||||
PROFILE_SCOPE(sReadGIF);
|
||||
GifFileType *gifinfo = DGifOpen( (void*)&stream, gifReadDataFn);
|
||||
if (!gifinfo)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue