Small tweak from v3 regarding texture scaling.
This commit is contained in:
@@ -3235,7 +3235,7 @@ void LLViewerLODTexture::processTextureStats()
|
||||
scaleDown() ;
|
||||
}
|
||||
// Limit the amount of GL memory bound each frame
|
||||
if ( BYTES_TO_MEGA_BYTES(sBoundTextureMemoryInBytes) > sMaxBoundTextureMemInMegaBytes * texmem_middle_bound_scale &&
|
||||
else if ( BYTES_TO_MEGA_BYTES(sBoundTextureMemoryInBytes) > sMaxBoundTextureMemInMegaBytes * texmem_middle_bound_scale &&
|
||||
(!getBoundRecently() || mDesiredDiscardLevel >= mCachedRawDiscardLevel))
|
||||
{
|
||||
scaleDown() ;
|
||||
|
||||
Reference in New Issue
Block a user