summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2024-04-25 16:51:14 -0700
committerCosmic Linden <cosmic@lindenlab.com>2024-04-25 16:51:14 -0700
commitdf40c005aee360671f1f79d601b1456ca6756aca (patch)
treeca86edc52ef7f12ee0833fba4b2b3f9489e46c75 /indra
parentaac18ada713aa34cafe477264ab08d5f1ba4e205 (diff)
secondlife/viewer#1184: Discourage use of forceToRefetchTexture
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewertexture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewertexture.h b/indra/newview/llviewertexture.h
index 35fb0a2237..52b2f19ada 100644
--- a/indra/newview/llviewertexture.h
+++ b/indra/newview/llviewertexture.h
@@ -398,7 +398,6 @@ public:
BOOL isCachedRawImageReady() const {return mCachedRawImageReady ;}
BOOL isRawImageValid()const { return mIsRawImageValid ; }
void forceToSaveRawImage(S32 desired_discard = 0, F32 kept_time = 0.f) ;
- void forceToRefetchTexture(S32 desired_discard = 0, F32 kept_time = 60.f);
/*virtual*/ void setCachedRawImage(S32 discard_level, LLImageRaw* imageraw) override;
void destroySavedRawImage() ;
LLImageRaw* getSavedRawImage() ;
@@ -420,6 +419,7 @@ public:
protected:
/*virtual*/ void switchToCachedImage() override;
S32 getCurrentDiscardLevelForFetching() ;
+ void forceToRefetchTexture(S32 desired_discard = 0, F32 kept_time = 60.f);
private:
void init(bool firstinit) ;