Common and VideoCommon: Change texture data from std::vector to Common::UniqueBuffer.

This commit is contained in:
Jordan Woyak
2025-05-03 17:36:22 -05:00
parent a736d2ed5f
commit 5a80105555
8 changed files with 36 additions and 33 deletions

View File

@ -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;