Intermiediary commit.
This commit is contained in:
@@ -1101,7 +1101,7 @@ void LLOcclusionCullingGroup::checkOcclusion()
|
||||
LL_RECORD_BLOCK_TIME(FTM_OCCLUSION_WAIT);
|
||||
while (!available && max_loop-- > 0)
|
||||
{
|
||||
F32 max_time = llmin(gFrameIntervalSeconds*10.f, 1.f);
|
||||
F32 max_time = llmin(gFrameIntervalSeconds.value()*10.f, 1.f);
|
||||
//do some usefu work while we wait
|
||||
LLAppViewer::getTextureCache()->update(max_time); // unpauses the texture cache thread
|
||||
LLAppViewer::getImageDecodeThread()->update(max_time); // unpauses the image thread
|
||||
|
||||
Reference in New Issue
Block a user