adds profiling to the various gbitmap loaders*

*note, DDS bypasses the gbitmap method chain in question.
This commit is contained in:
Azaezel 2017-04-10 21:43:38 -05:00
parent 513789c2c7
commit f889aebcea
8 changed files with 10 additions and 0 deletions

View file

@ -97,6 +97,7 @@ static S32 jpegErrorFn(void *client_data)
//--------------------------------------
static bool sReadJPG(Stream &stream, GBitmap *bitmap)
{
PROFILE_SCOPE(sReadJPG);
JFREAD = jpegReadDataFn;
JFERROR = jpegErrorFn;