summaryrefslogtreecommitdiff
path: root/indra/newview/lltexturefetch.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2012-10-19 17:00:29 -0600
committerXiaohong Bao <bao@lindenlab.com>2012-10-19 17:00:29 -0600
commit6c7167b1f2363ab9412c4ded3b22c829018f6e45 (patch)
tree4fe14dc797c16e1970dcd68c3928dd7c60de905e /indra/newview/lltexturefetch.cpp
parent9bc8028ab52ef5d56fa8a3915d927b5a050d8ead (diff)
fix a gTextureTimer bug: it starts too early.
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rw-r--r--indra/newview/lltexturefetch.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index f2caa01644..338cb8d70f 100644
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -1919,6 +1919,10 @@ LLTextureFetch::LLTextureFetch(LLTextureCache* cache, LLImageDecodeThread* image
}
mOriginFetchSource = mFetchSource;
}
+
+ //reset the texture timer.
+ gTextureTimer.reset();
+ gTextureTimer.pause();
}
LLTextureFetch::~LLTextureFetch()