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 b052a1f970
commit 66c7173fda
8 changed files with 10 additions and 0 deletions

View file

@ -206,6 +206,7 @@ static mng_bool mngFatalErrorFn(mng_handle mng, mng_int32 code, mng_int8 severit
static bool sReadMNG(Stream &stream, GBitmap *bitmap)
{
PROFILE_SCOPE(sReadMNG);
mngstuff mnginfo;
dMemset(&mnginfo, 0, sizeof(mngstuff));