Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant texture flag setters/getters for CameraTexture #54735

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions scene/resources/texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>();
Expand Down
3 changes: 0 additions & 3 deletions scene/resources/texture.h
Original file line number Diff line number Diff line change
Expand Up @@ -900,9 +900,6 @@ class CameraTexture : public Texture2D {
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);
Expand Down