summaryrefslogtreecommitdiff
path: root/scene/resources/texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/texture.h')
-rw-r--r--scene/resources/texture.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h
index b255a3ebb2..d3650e83ce 100644
--- a/scene/resources/texture.h
+++ b/scene/resources/texture.h
@@ -509,7 +509,8 @@ class ProxyTexture : public Texture2D {
GDCLASS(ProxyTexture, Texture2D);
private:
- RID proxy;
+ mutable RID proxy_ph;
+ mutable RID proxy;
Ref<Texture2D> base;
protected:
@@ -540,6 +541,7 @@ private:
MAX_FRAMES = 256
};
+ RID proxy_ph;
RID proxy;
struct Frame {