summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexturelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewertexturelist.cpp')
-rw-r--r--indra/newview/llviewertexturelist.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp
index 70bca3854d..8fab391997 100644
--- a/indra/newview/llviewertexturelist.cpp
+++ b/indra/newview/llviewertexturelist.cpp
@@ -64,6 +64,7 @@
#include "llviewerwindow.h"
#include "llsurface.h"
#include "llvoavatarself.h"
+#include "lldrawable.h"
#include "llvovolume.h"
#include "llviewertextureanim.h"
#include "llprogressview.h"
@@ -950,6 +951,7 @@ void LLViewerTextureList::updateImageDecodePriority(LLViewerFetchedTexture* imag
bool bucket_used[4] = { false, false, false, false };
F32 max_coverage = 0.f;
+
U32 face_count = 0;
const U32 max_faces_to_check = 1024;
@@ -1387,6 +1389,7 @@ F32 LLViewerTextureList::updateImagesCreateTextures(F32 max_time)
img->scaleDown(image->getDesiredDiscardLevel());
}
+ image->setPendingByteDelta(0); // pending-free settled (or abandoned)
image->mDownScalePending = false;
mDownScaleQueue.pop();