mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
mark color_types palette as unsupported in Bitmap::from_png
This commit is contained in:
parent
118f0c0346
commit
dadaae2884
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ impl Bitmap {
|
||||||
(0, 16) => PixelType::U16,
|
(0, 16) => PixelType::U16,
|
||||||
(2, 8) => PixelType::U8x3,
|
(2, 8) => PixelType::U8x3,
|
||||||
(2, 16) => PixelType::U16x3,
|
(2, 16) => PixelType::U16x3,
|
||||||
(3, 1 | 2 | 4 | 8) => PixelType::U8,
|
(3, 1 | 2 | 4 | 8) => PixelType::U0, // Unsupported
|
||||||
(4, 8) => PixelType::U8x2,
|
(4, 8) => PixelType::U8x2,
|
||||||
(4, 16) => PixelType::U16x2,
|
(4, 16) => PixelType::U16x2,
|
||||||
(6, 8) => PixelType::U8x4,
|
(6, 8) => PixelType::U8x4,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue