mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-24 09:03:48 +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
|
|
@ -136,6 +136,7 @@ static void pngWarningFn(png_structp, png_const_charp /*pMessage*/)
|
|||
//--------------------------------------
|
||||
static bool sReadPNG(Stream &stream, GBitmap *bitmap)
|
||||
{
|
||||
PROFILE_SCOPE(sReadPNG);
|
||||
static const U32 cs_headerBytesChecked = 8;
|
||||
|
||||
U8 header[cs_headerBytesChecked];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue