[GSP::GPU] Proper type assertions and visibility

This commit is contained in:
wheremyfoodat 2023-08-04 16:36:50 +03:00
parent 73a18e3609
commit 0b4497302b
3 changed files with 22 additions and 20 deletions

View file

@ -97,7 +97,7 @@ struct ColourBuffer {
const u32 startOffset = (inputAddress - location) / sizePerPixel(format);
const u32 x0 = (startOffset % (size.x() * 8)) / 8;
const u32 y0 = (startOffset / (size.x() * 8)) * 8;
return Math::Rect{x0, size.y() - y0, x0 + width, size.y() - height - y0};
return Math::Rect<u32>{x0, size.y() - y0, x0 + width, size.y() - height - y0};
}
bool matches(ColourBuffer& other) {