add set ClearColor at VulkanAppFramework

This commit is contained in:
hyzboy 2020-10-19 22:22:44 +08:00
parent 4822c9ce53
commit 99795c730a

View File

@ -238,6 +238,8 @@ public:
if(!rl)return;
vulkan::CommandBuffer *cb=cmd_buf[index];
cb->SetClearColor(0,clear_color.r,clear_color.g,clear_color.b);
cb->Begin();
cb->BindFramebuffer(sc_render_target->GetRenderPass(),sc_render_target->GetFramebuffer(index));