Skip to content

Commit c7198dd

Browse files
committed
Fix another incorrect clear color flag on texture storage.
1 parent 9aed9ec commit c7198dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/rendering/renderer_rd/storage_rd/texture_storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3692,7 +3692,7 @@ void TextureStorage::render_target_do_clear_request(RID p_render_target) {
36923692
}
36933693
Vector<Color> clear_colors;
36943694
clear_colors.push_back(rt->use_hdr ? rt->clear_color.srgb_to_linear() : rt->clear_color);
3695-
RD::get_singleton()->draw_list_begin(rt->get_framebuffer(), RD::DRAW_CLEAR_ALL, clear_colors);
3695+
RD::get_singleton()->draw_list_begin(rt->get_framebuffer(), RD::DRAW_CLEAR_COLOR_0, clear_colors);
36963696
RD::get_singleton()->draw_list_end();
36973697
rt->clear_requested = false;
36983698
rt->msaa_needs_resolve = false;

0 commit comments

Comments
 (0)