mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
VideoCommon: Replace SOIL with libpng for hires textures
This commit is contained in:

committed by
JosJuice

parent
0706add584
commit
17e65a7167
@ -16,8 +16,6 @@ enum class TextureFormat;
|
||||
class HiresTexture
|
||||
{
|
||||
public:
|
||||
using ImageDataPointer = std::unique_ptr<u8, void (*)(unsigned char*)>;
|
||||
|
||||
static void Init();
|
||||
static void Update();
|
||||
static void Shutdown();
|
||||
@ -39,14 +37,11 @@ public:
|
||||
|
||||
struct Level
|
||||
{
|
||||
Level();
|
||||
|
||||
ImageDataPointer data;
|
||||
std::vector<u8> data;
|
||||
AbstractTextureFormat format = AbstractTextureFormat::RGBA8;
|
||||
u32 width = 0;
|
||||
u32 height = 0;
|
||||
u32 row_length = 0;
|
||||
size_t data_size = 0;
|
||||
};
|
||||
std::vector<Level> m_levels;
|
||||
|
||||
|
Reference in New Issue
Block a user