mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-01 19:29:16 +01:00
[d3d9] Manually discard swap chain image view on present
This commit is contained in:
parent
e46bf78f31
commit
73a06aea72
@ -841,6 +841,7 @@ namespace dxvk {
|
||||
renderTargets.color[0].view = m_imageViews.at(imageIndex);
|
||||
renderTargets.color[0].layout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL;
|
||||
m_context->bindRenderTargets(renderTargets);
|
||||
m_context->discardImageView(m_imageViews.at(imageIndex), VK_IMAGE_ASPECT_COLOR_BIT);
|
||||
|
||||
VkViewport viewport;
|
||||
viewport.x = float(m_dstRect.left);
|
||||
|
Loading…
x
Reference in New Issue
Block a user