summaryrefslogtreecommitdiff
path: root/drivers/gles3
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2022-11-03 08:47:28 -0500
committerDavid Snopek <dsnopek@gmail.com>2022-11-03 13:03:30 -0500
commit7fb8b931d7547fe1f02febc9cca636ef187d2942 (patch)
tree922df3a645c87ee6fb6aa09b23e9db1cfd1404fb /drivers/gles3
parentc0de8d32d51d579e6dc1a5aac3fbcd6c7104eb61 (diff)
Collapse three seperate texture storage methods into render_target_set_override()
Diffstat (limited to 'drivers/gles3')
-rw-r--r--drivers/gles3/storage/texture_storage.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gles3/storage/texture_storage.h b/drivers/gles3/storage/texture_storage.h
index 0b025c4370..35fa16c894 100644
--- a/drivers/gles3/storage/texture_storage.h
+++ b/drivers/gles3/storage/texture_storage.h
@@ -593,11 +593,9 @@ public:
virtual void render_target_set_vrs_texture(RID p_render_target, RID p_texture) override {}
virtual RID render_target_get_vrs_texture(RID p_render_target) const override { return RID(); }
- virtual void render_target_set_override_color(RID p_render_target, RID p_texture) override {}
+ virtual void render_target_set_override(RID p_render_target, RID p_color_texture, RID p_depth_texture, RID p_velocity_texture) override {}
virtual RID render_target_get_override_color(RID p_render_target) const override { return RID(); }
- virtual void render_target_set_override_depth(RID p_render_target, RID p_texture) override {}
virtual RID render_target_get_override_depth(RID p_render_target) const override { return RID(); }
- virtual void render_target_set_override_velocity(RID p_render_target, RID p_texture) override {}
virtual RID render_target_get_override_velocity(RID p_render_target) const override { return RID(); }
virtual RID render_target_get_texture(RID p_render_target) override;