Fast Timers brought up to linden equiv
This commit is contained in:
@@ -290,9 +290,11 @@ S32 LLImageGL::dataFormatComponents(S32 dataformat)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
static LLFastTimer::DeclareTimer FTM_IMAGE_UPDATE_STATS("Image Stats");
|
||||
// static
|
||||
void LLImageGL::updateStats(F32 current_time)
|
||||
{
|
||||
LLFastTimer t(FTM_IMAGE_UPDATE_STATS);
|
||||
sLastFrameTime = current_time;
|
||||
sBoundTextureMemoryInBytes = sCurBoundTextureMemory;
|
||||
sCurBoundTextureMemory = 0;
|
||||
|
||||
Reference in New Issue
Block a user