mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +01:00
[d3d9] Fix compiler warning in Clear size check
This commit is contained in:
parent
96e22e7c67
commit
b08665c808
@ -1632,8 +1632,8 @@ namespace dxvk {
|
||||
0
|
||||
};
|
||||
|
||||
if (std::min<uint32_t>(pRects[i].x2, offset.x + extent.width) <= rectOffset.x
|
||||
|| std::min<uint32_t>(pRects[i].y2, offset.y + extent.height) <= rectOffset.y) {
|
||||
if (std::min<int32_t>(pRects[i].x2, offset.x + extent.width) <= rectOffset.x
|
||||
|| std::min<int32_t>(pRects[i].y2, offset.y + extent.height) <= rectOffset.y) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user