[dxvk] Wrong framebuffer was used in renderPassEnd()

This commit is contained in:
Philip Rebohle 2017-12-08 01:18:29 +01:00
parent b49815657e
commit b7723ad6f6
1 changed files with 1 additions and 1 deletions

View File

@ -47,8 +47,8 @@ namespace dxvk {
void DxvkContext::bindFramebuffer(
const Rc<DxvkFramebuffer>& fb) {
if (m_state.om.framebuffer != fb) {
m_state.om.framebuffer = fb;
this->renderPassEnd();
m_state.om.framebuffer = fb;
}
}