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
|
|
@ -492,6 +492,14 @@ void VulkanRenderDevice::WaitForCommands(bool finish)
|
|||
mCommands->WaitForCommands(finish);
|
||||
}
|
||||
|
||||
void VulkanRenderDevice::ResetRenderStateCache()
|
||||
{
|
||||
for (auto& renderstate : mRenderState)
|
||||
{
|
||||
renderstate->ResetCache();
|
||||
}
|
||||
}
|
||||
|
||||
void VulkanRenderDevice::PrintStartupLog()
|
||||
{
|
||||
const auto &props = mDevice->PhysicalDevice.Properties.Properties;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue