mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Remove <filesystem>
Should fix compilation with GCC before 9
This commit is contained in:
@@ -39,7 +39,8 @@ void indexed(std::vector<Palette> &palettes, int palSize, png_color const *palRG
|
||||
return std::find(colors.begin(), colors.end(), color) != colors.end();
|
||||
})) {
|
||||
if (palette.size() != options.maxPalSize()) {
|
||||
warning("Unused color in PNG embedded palette was re-added; please use `-c embedded` to get this in future versions");
|
||||
warning("Unused color in PNG embedded palette was re-added; please use `-c "
|
||||
"embedded` to get this in future versions");
|
||||
}
|
||||
// Overwrite the palette, and return with that (it's already sorted)
|
||||
palette.colors = colors;
|
||||
|
||||
Reference in New Issue
Block a user