diff --git a/scene/resources/texture.h b/scene/resources/texture.h index 98a0302e47e..47c2ea9f008 100644 --- a/scene/resources/texture.h +++ b/scene/resources/texture.h @@ -675,11 +675,12 @@ class AnimatedTexture : public Texture { //use readers writers lock for this, since its far more times read than written to RWLock *rw_lock; -private: +public: enum { MAX_FRAMES = 256 }; +private: RID proxy; struct Frame {