From 3bfad1e70e73e9098c2540d73d93ebbec728655f Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 20 Dec 2021 23:47:50 +0100 Subject: [PATCH] [dxvk] Explicitly intiialize framebuffer info --- src/dxvk/dxvk_context.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index b22185f6..6783199e 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -22,6 +22,10 @@ namespace dxvk { m_features.set(DxvkContextFeature::NullDescriptors); if (m_device->features().extExtendedDynamicState.extendedDynamicState) m_features.set(DxvkContextFeature::ExtendedDynamicState); + + // Init framebuffer info with default render pass in case + // the app does not explicitly bind any render targets + m_state.om.framebufferInfo = makeFramebufferInfo(m_state.om.renderTargets); }