mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-28 09:15:28 +03:00
Fix draws when no colour RTs and only depth is bound
This commit is contained in:
parent
d137051833
commit
d033ff2478
@ -2626,7 +2626,7 @@ namespace skyline::gpu::interconnect {
|
||||
|
||||
cycle->AttachObject(fenceStorage);
|
||||
}, vk::Rect2D{
|
||||
.extent = activeColorRenderTargets.front()->texture->dimensions,
|
||||
.extent = activeColorRenderTargets.empty() ? depthRenderTarget.guest.dimensions : activeColorRenderTargets.front()->texture->dimensions,
|
||||
}, {}, activeColorRenderTargets, depthRenderTargetView);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user