diff --git a/src/d3d9/d3d9_swapchain.cpp b/src/d3d9/d3d9_swapchain.cpp index 1f8274e4..8e6bde02 100644 --- a/src/d3d9/d3d9_swapchain.cpp +++ b/src/d3d9/d3d9_swapchain.cpp @@ -962,8 +962,11 @@ namespace dxvk { m_context->beginRecording( m_device->createCommandList()); - m_context->clearColorImage( - swapImage, clearColor, subresources); + for (uint32_t i = 0; i < m_backBuffers.size(); i++) { + m_context->clearColorImage( + m_backBuffers[i]->GetCommonTexture()->GetImage(), + clearColor, subresources); + } m_device->submitCommandList( m_context->endRecording(),