mirror of
https://github.com/blawar/GLideN64.git
synced 2024-06-25 22:09:35 +00:00
22 lines
271 B
C++
22 lines
271 B
C++
#pragma once
|
|
#include <memory>
|
|
|
|
struct CachedTexture;
|
|
|
|
class PaletteTexture
|
|
{
|
|
public:
|
|
PaletteTexture();
|
|
|
|
void init();
|
|
void destroy();
|
|
void update();
|
|
|
|
private:
|
|
CachedTexture * m_pTexture;
|
|
u8* m_pbuf;
|
|
u32 m_paletteCRC256;
|
|
};
|
|
|
|
extern PaletteTexture g_paletteTexture;
|