Fix transparency handling

Ensure that the color count is properly used, and that
transparency is not counted as a color when packing palettes
This commit is contained in:
ISSOtm authored and Eldred Habert committed 2022-07-02 17:04:17 +02:00
1 parent 7d54145e56
commit 7311fc9ef8
4 files changed
+42 -7

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ public:
ComparisonResult compare(ProtoPalette const &other) const;
size_t size() const;
bool empty() const;
decltype(_colorIndices)::const_iterator begin() const;
decltype(_colorIndices)::const_iterator end() const;