diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-04-10 16:22:02 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-04-11 10:12:18 +0000 |
commit | c276899e3f4e37aca88edad8895daf10a8435b19 (patch) | |
tree | afaa883844c177e1bbb82410a72592e66180e40d /qtdeclarative.pro | |
parent | 7917135a7198df748adbc519a3c7930f9c1468af (diff) |
D3D12: Fix scissor rect
It was off by one due to the historical behavior of QRect::right() and
bottom(). Originally the issue was worked around in the renderer. It is
now done properly in queueScissor instead.
In addition, draw calls with a zero scissor result in a debug layer
warning. It is not necessary to add the draw call related commands to the
command list in this case so just skip them.
Change-Id: I016cfbecc093598aa0825bbc7811934b05882486
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'qtdeclarative.pro')
0 files changed, 0 insertions, 0 deletions