mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Common and VideoCommon: Change texture data from std::vector to Common::UniqueBuffer.
This commit is contained in:
parent
a736d2ed5f
commit
5a80105555
8 changed files with 36 additions and 33 deletions
|
@ -438,7 +438,7 @@ bool GameFile::ReadPNGBanner(const std::string& path)
|
|||
return false;
|
||||
|
||||
GameBanner& banner = m_pending.custom_banner;
|
||||
std::vector<u8> data_out;
|
||||
Common::UniqueBuffer<u8> data_out;
|
||||
if (!Common::LoadPNG(png_data, &data_out, &banner.width, &banner.height))
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue