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

@ -1057,6 +1057,7 @@ bool GBitmap::write(Stream& io_rStream) const
bool GBitmap::readBitmap( const String &bmType, Stream &ioStream )
{
PROFILE_SCOPE(ResourceGBitmap_readBitmap);
const GBitmap::Registration *regInfo = GBitmap::sFindRegInfo( bmType );
if ( regInfo == NULL )