Fix vkCmdBeginRenderPass crash on unused views in headless mode (#3871)

* Fix vkCmdBeginRenderPass crash on unused views in headless mode

* add m_needPresent and m_currentFramebuffer initializers

---------

Co-authored-by: alemuntoni <alemuntoni@users.noreply.github.com>
This commit is contained in:
Alessandro Muntoni
2026-08-05 21:44:58 +00:00
committed by GitHub
co-authored by alemuntoni
parent b99e390016
commit d2633c6ac2
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -9051,7 +9051,7 @@ VK_DESTROY
bool FrameBufferVK::isRenderable() const
{
return false
|| (NULL == m_nwh)
|| (NULL == m_nwh && m_currentFramebuffer != VK_NULL_HANDLE)
|| m_swapChain.m_needPresent
;
}