mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
VideoCommon: Use std::span for BoundingBox::Write()
Crosses off a lingering TODO. Also amends a few nearby cases where a u32 cast was being repromoted to size_t.
This commit is contained in:
@@ -55,7 +55,7 @@ std::vector<BBoxType> SWBoundingBox::Read(u32 index, u32 length)
|
||||
return values;
|
||||
}
|
||||
|
||||
void SWBoundingBox::Write(u32 index, const std::vector<BBoxType>& values)
|
||||
void SWBoundingBox::Write(u32 index, std::span<const BBoxType> values)
|
||||
{
|
||||
for (size_t i = 0; i < values.size(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user