mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
Metal: Use std::unique_ptr for texture decode
This commit is contained in:
parent
fa123cea3f
commit
e635b9ec8a
5 changed files with 95 additions and 92 deletions
|
@ -10,7 +10,7 @@ namespace PICA {
|
|||
struct MTLPixelFormatInfo {
|
||||
MTL::PixelFormat pixelFormat;
|
||||
size_t bytesPerTexel;
|
||||
void (*decoder)(OpenGL::uvec2, u32, u32, std::span<const u8>, std::vector<u8>&);
|
||||
void (*decoder)(OpenGL::uvec2, u32, u32, std::span<const u8>, u8*);
|
||||
|
||||
bool needsSwizzle = false;
|
||||
MTL::TextureSwizzleChannels swizzle{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue