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:
parent
34774f4ea4
commit
3bfad1e70e
@ -22,6 +22,10 @@ namespace dxvk {
|
|||||||
m_features.set(DxvkContextFeature::NullDescriptors);
|
m_features.set(DxvkContextFeature::NullDescriptors);
|
||||||
if (m_device->features().extExtendedDynamicState.extendedDynamicState)
|
if (m_device->features().extExtendedDynamicState.extendedDynamicState)
|
||||||
m_features.set(DxvkContextFeature::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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user