Merge pull request #41633 from Xrayez/expose-atex-max-frames

Make `AnimatedTexture.MAX_FRAMES` public
This commit is contained in:
Rémi Verschelde 2020-08-31 11:30:42 +02:00 committed by GitHub
commit 68e7a19a97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -632,11 +632,12 @@ class AnimatedTexture : public Texture2D {
//use readers writers lock for this, since its far more times read than written to //use readers writers lock for this, since its far more times read than written to
RWLock *rw_lock; RWLock *rw_lock;
private: public:
enum { enum {
MAX_FRAMES = 256 MAX_FRAMES = 256
}; };
private:
RID proxy_ph; RID proxy_ph;
RID proxy; RID proxy;