mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 12:59:14 +12:00
[GSP::GPU] Proper type assertions and visibility
This commit is contained in:
parent
73a18e3609
commit
0b4497302b
3 changed files with 22 additions and 20 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue