1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[d3d9] Fix GCC warnings for unsigned->signed comparisons

This commit is contained in:
Philip Rebohle 2020-02-06 00:58:30 +01:00 committed by Joshie
parent 06809587e8
commit 2288dd924e

View File

@ -251,10 +251,10 @@ namespace dxvk {
// Only bother checking x, y as we don't have 3D blits.
return offsets[1].x < offsets[0].x ||
offsets[1].y < offsets[0].y ||
offsets[0].x < 0 ||
offsets[0].y < 0 ||
offsets[1].x > extent.width ||
offsets[1].y > extent.height;
offsets[0].x < 0 ||
offsets[0].y < 0 ||
uint32_t(offsets[1].x) > extent.width ||
uint32_t(offsets[1].y) > extent.height;
}
enum D3D9TextureStageStateTypes : uint32_t