summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-02-23 17:55:44 -0600
committerDave Parks <davep@lindenlab.com>2022-02-23 17:55:44 -0600
commitfc0b238654091c6090d5d85ceda51fbc6cb71eaa (patch)
tree1f12b135e73d088b4dd0606e6a80ba3895468c35 /indra/llrender/llimagegl.h
parentd9a68339d5aa18af349e347d6ed74bc01824cec7 (diff)
Fix for media textures failing to update (and eating lots of memory) on Mac/Intel
Diffstat (limited to 'indra/llrender/llimagegl.h')
-rw-r--r--indra/llrender/llimagegl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.h b/indra/llrender/llimagegl.h
index 574d83c37e..4d5b60d6bc 100644
--- a/indra/llrender/llimagegl.h
+++ b/indra/llrender/llimagegl.h
@@ -304,6 +304,9 @@ public:
void setTexName(GLuint texName) { mTexName = texName; }
+ //similar to setTexName, but will call deleteTextures on mTexName if mTexName is not 0 or texname
+ void syncTexName(LLGLuint texname);
+
//for debug use: show texture size distribution
//----------------------------------------
static S32 sCurTexSizeBar ;