1
0
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:
Robin Kertels 2023-05-03 19:41:08 +02:00 committed by Joshie
parent 96e22e7c67
commit b08665c808

View File

@ -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;
}