diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-08 13:55:48 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-08 13:55:48 +0200 |
commit | 658929997d10a89eadf9561b144a04e31e88fba3 (patch) | |
tree | b8d17e955938fb6ebcba38437d102bdc6444900b /servers/rendering/renderer_rd | |
parent | b150926cde1683667d3e725b2928a7a28765df0f (diff) | |
parent | 4765e5fa64883c77aefd25ba0fd43b1250760fda (diff) |
Merge pull request #67051 from clayjohn/CanvasGroup-clear
Allow clearing backbuffer after finishing CanvasGroup
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r-- | servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp b/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp index 4c14ef7b9e..e5e82552f4 100644 --- a/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp +++ b/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp @@ -1475,6 +1475,8 @@ void RendererCanvasRenderRD::canvas_render_items(RID p_to_render_target, Item *p } canvas_group_owner = nullptr; + // Backbuffer is dirty now and needs to be re-cleared if another CanvasGroup needs it. + backbuffer_cleared = false; } if (backbuffer_copy) { |