summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorAaron Record <aaronjrecord@gmail.com>2021-11-07 12:35:10 -0700
committerAaron Record <aaronjrecord@gmail.com>2021-11-07 12:35:10 -0700
commitd3c35403290b1d306bc5c82648d9f48618d00f4d (patch)
tree5eb09442b1c614b4734ba374101c7bfa40a26494 /scene/resources
parentf49d679de4a63f4649c58b91ece5b1915554359e (diff)
Remove redundant texture flag setters/getters for `CameraTexture`
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/texture.cpp9
-rw-r--r--scene/resources/texture.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp
index 485074e283..ec6965ded2 100644
--- a/scene/resources/texture.cpp
+++ b/scene/resources/texture.cpp
@@ -2871,15 +2871,6 @@ RID CameraTexture::get_rid() const {
}
}
-void CameraTexture::set_flags(uint32_t p_flags) {
- // not supported
-}
-
-uint32_t CameraTexture::get_flags() const {
- // not supported
- return 0;
-}
-
Ref<Image> CameraTexture::get_image() const {
// not (yet) supported
return Ref<Image>();
diff --git a/scene/resources/texture.h b/scene/resources/texture.h
index 51567124c6..e666ff06b5 100644
--- a/scene/resources/texture.h
+++ b/scene/resources/texture.h
@@ -900,9 +900,6 @@ public:
virtual RID get_rid() const override;
virtual bool has_alpha() const override;
- virtual void set_flags(uint32_t p_flags);
- virtual uint32_t get_flags() const;
-
virtual Ref<Image> get_image() const override;
void set_camera_feed_id(int p_new_id);