graphics/graphics-ipc: Use u32 fields in Damage

The fields should never be negative and this saves a couple of casts.
This commit is contained in:
bjorn3
2025-03-06 19:41:05 +01:00
parent ee3382aed0
commit 92295f2ea4
5 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -142,8 +142,8 @@ impl<T: GraphicsAdapter> GraphicsScheme<T> {
&[Damage {
x: 0,
y: 0,
width: resource.width() as i32,
height: resource.height() as i32,
width: resource.width(),
height: resource.height(),
}],
);
}