Fix variable arg bindings

Always clear the drawer
This commit is contained in:
Magnus Norddahl 2022-07-23 19:10:59 +02:00 committed by Christoph Oelckers
commit aa083604e1
4 changed files with 7 additions and 5 deletions

View file

@ -218,6 +218,7 @@ void VulkanFrameBuffer::RenderTextureView(FCanvasTexture* tex, std::function<voi
if (tex->Drawer)
{
::Draw2D(tex->Drawer.get(), *mRenderState);
tex->Drawer->Clear();
}
mRenderState->EndRenderPass();