summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-08-31 11:30:42 +0200
committerGitHub <noreply@github.com>2020-08-31 11:30:42 +0200
commit68e7a19a979067f3ee0f49cffe40130900851a08 (patch)
tree2a58c91938bd7ca1df92bda3781aad99dd7940b0
parenta0b95e5d9c8b9529fb6e7006beca30e1ee0dbf4a (diff)
parent528056a3c5f8aee06a3598a6f6746253b9ab1e0e (diff)
Merge pull request #41633 from Xrayez/expose-atex-max-frames
Make `AnimatedTexture.MAX_FRAMES` public
-rw-r--r--scene/resources/texture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h
index d439d34c95..fd213859b7 100644
--- a/scene/resources/texture.h
+++ b/scene/resources/texture.h
@@ -632,11 +632,12 @@ class AnimatedTexture : public Texture2D {
//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_ph;
RID proxy;