Merge pull request #54735 from LightningAA/remove-camera-texture-flags

Remove redundant texture flag setters/getters for `CameraTexture`
This commit is contained in:
Rémi Verschelde 2021-11-07 22:09:48 +01:00 committed by GitHub
commit ce634e03d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 12 deletions

View File

@ -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>();

View File

@ -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);