mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 10:20:52 +00:00
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:
co-authored by
alemuntoni
parent
b99e390016
commit
d2633c6ac2
+1
-1
@@ -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
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user