mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-07 04:35:37 +00:00
Allow fewer tRNS entries than PLTE colors (#1284)
This commit is contained in:
1 parent
528a4c0b70
commit
b0f2f0ffd6
7 files changed
+17
-15
No files matched your search
@@ -16,7 +16,7 @@ struct Palette;
|
||||
namespace sorting {
|
||||
|
||||
void indexed(std::vector<Palette> &palettes, int palSize, png_color const *palRGB,
|
||||
png_byte *palAlpha);
|
||||
int palAlphaSize, png_byte *palAlpha);
|
||||
void grayscale(std::vector<Palette> &palettes,
|
||||
std::array<std::optional<Rgba>, 0x8001> const &colors);
|
||||
void rgb(std::vector<Palette> &palettes);
|
||||
|
||||
Reference in new issue
Block a user