commit | a1597cff088a827e98688632f6523fae2b6513af | [log] [tgz] |
---|---|---|
author | Pierre-Loup Pagniez <pierreloup.pagniez@viacesi.fr> | Tue Sep 15 12:39:55 2020 +0200 |
committer | omar <omarcornut@gmail.com> | Wed Sep 16 10:43:17 2020 +0200 |
tree | 60c2e9834e448d779061b4f307361ce1240de13a | |
parent | a8f409a84895fc7ab291ea7ca3eec555aa47cc37 [diff] |
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.