mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00: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:
parent
dd227fea5a
commit
5f6c76af51
15 changed files with 19 additions and 20 deletions
|
@ -19,7 +19,7 @@ public:
|
|||
|
||||
protected:
|
||||
std::vector<BBoxType> Read(u32 index, u32 length) override;
|
||||
void Write(u32 index, const std::vector<BBoxType>& values) override;
|
||||
void Write(u32 index, std::span<const BBoxType> values) override;
|
||||
|
||||
private:
|
||||
GLuint m_buffer_id = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue