fix bpp format constant values

This commit is contained in:
scawful
2024-07-27 09:46:04 -04:00
parent e29ad20032
commit 2962ae8e4e

View File

@@ -37,8 +37,9 @@ constexpr int SNES_PIXELFORMAT_8BPP = SDL_DEFINE_PIXELFORMAT(
// SDL_PIXELFORMAT_INDEX8 =
// SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1),
constexpr int kFormat4bppIndexed = 1;
constexpr int kFormat8bppIndexed = 2;
constexpr int kFormat2bppIndexed = 1;
constexpr int kFormat4bppIndexed = 2;
constexpr int kFormat8bppIndexed = 3;
/**
* @brief Convert SDL_Surface to PNG image data.