mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 23:53:51 +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
|
|
@ -97,6 +97,7 @@ static S32 jpegErrorFn(void *client_data)
|
|||
//--------------------------------------
|
||||
static bool sReadJPG(Stream &stream, GBitmap *bitmap)
|
||||
{
|
||||
PROFILE_SCOPE(sReadJPG);
|
||||
JFREAD = jpegReadDataFn;
|
||||
JFERROR = jpegErrorFn;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue