mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 23:55:52 +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
|
@ -3,14 +3,15 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <span>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/Buffer.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
namespace Common
|
||||
{
|
||||
bool LoadPNG(const std::vector<u8>& input, std::vector<u8>* data_out, u32* width_out,
|
||||
bool LoadPNG(std::span<const u8> input, Common::UniqueBuffer<u8>* data_out, u32* width_out,
|
||||
u32* height_out);
|
||||
|
||||
enum class ImageByteFormat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue