Backends: DX12: Fix D3D12 Debug Layer warning if scissor rect is 0 width or 0 height. (#3472, #3462)
In the event where the scissor rect is 0 width or 0 height, don't call Draw, as it generates warnings if the D3D12 Debug Layer is enabled, and nothing would have been drawn anyway.features/potocpav-newer-lines-2
parent
a8f409a848
commit
a1597cff08
2 changed files with 7 additions and 3 deletions
Loading…
Reference in New Issue