Fix crash when frame buffers are resized
This commit is contained in:
parent
0edaa7ca9d
commit
370bf24d2c
5 changed files with 19 additions and 0 deletions
|
|
@ -740,6 +740,12 @@ void VkRenderState::EndFrame()
|
|||
mStreamBufferWriter.Reset();
|
||||
}
|
||||
|
||||
void VkRenderState::ResetCache()
|
||||
{
|
||||
mRenderPassSetups.clear();
|
||||
mPipelineLayouts.clear();
|
||||
}
|
||||
|
||||
void VkRenderState::EnableDrawBuffers(int count, bool apply)
|
||||
{
|
||||
if (mRenderTarget.DrawBuffers != count)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue