mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Fix draws when no colour RTs and only depth is bound
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user