1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-12 13:08:50 +01:00

[dxvk] Explicitly intiialize framebuffer info

This commit is contained in:
Philip Rebohle 2021-12-20 23:47:50 +01:00
parent 34774f4ea4
commit 3bfad1e70e
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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);
}