diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2024-04-25 16:51:14 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2024-04-25 16:51:14 -0700 |
commit | df40c005aee360671f1f79d601b1456ca6756aca (patch) | |
tree | ca86edc52ef7f12ee0833fba4b2b3f9489e46c75 /indra | |
parent | aac18ada713aa34cafe477264ab08d5f1ba4e205 (diff) |
secondlife/viewer#1184: Discourage use of forceToRefetchTexture
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewertexture.h | 2 |
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) ; |