mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 22:29:15 +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
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
if (std::min<uint32_t>(pRects[i].x2, offset.x + extent.width) <= rectOffset.x
|
if (std::min<int32_t>(pRects[i].x2, offset.x + extent.width) <= rectOffset.x
|
||||||
|| std::min<uint32_t>(pRects[i].y2, offset.y + extent.height) <= rectOffset.y) {
|
|| std::min<int32_t>(pRects[i].y2, offset.y + extent.height) <= rectOffset.y) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user