From d3c35403290b1d306bc5c82648d9f48618d00f4d Mon Sep 17 00:00:00 2001 From: Aaron Record Date: Sun, 7 Nov 2021 12:35:10 -0700 Subject: [PATCH] Remove redundant texture flag setters/getters for `CameraTexture` --- scene/resources/texture.cpp | 9 --------- scene/resources/texture.h | 3 --- 2 files changed, 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 CameraTexture::get_image() const { // not (yet) supported return Ref(); 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 get_image() const override; void set_camera_feed_id(int p_new_id);