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:
parent
06809587e8
commit
2288dd924e
@ -251,10 +251,10 @@ namespace dxvk {
|
|||||||
// Only bother checking x, y as we don't have 3D blits.
|
// Only bother checking x, y as we don't have 3D blits.
|
||||||
return offsets[1].x < offsets[0].x ||
|
return offsets[1].x < offsets[0].x ||
|
||||||
offsets[1].y < offsets[0].y ||
|
offsets[1].y < offsets[0].y ||
|
||||||
offsets[0].x < 0 ||
|
offsets[0].x < 0 ||
|
||||||
offsets[0].y < 0 ||
|
offsets[0].y < 0 ||
|
||||||
offsets[1].x > extent.width ||
|
uint32_t(offsets[1].x) > extent.width ||
|
||||||
offsets[1].y > extent.height;
|
uint32_t(offsets[1].y) > extent.height;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum D3D9TextureStageStateTypes : uint32_t
|
enum D3D9TextureStageStateTypes : uint32_t
|
||||||
|
Loading…
Reference in New Issue
Block a user