Fix two RGBGFX bugs (#1671)

* Fix two RGBGFX bugs

* Fix clang-format idempotence

* Update src/gfx/rgba.cpp

Co-authored-by: Eldred Habert <me@eldred.fr>

---------

Co-authored-by: Eldred Habert <me@eldred.fr>
This commit is contained in:
Rangi
2025-04-24 09:39:14 -04:00
committed by GitHub
parent a72843748f
commit 2a5b9b5f98
19 changed files with 14 additions and 10 deletions

View File

@@ -0,0 +1,4 @@
error: Failed to fit tile colors [$1527, $15cc, $1ab4] in specified palettes
note: The following palette was specified:
[$1ab4, $15cc]
Conversion aborted after 1 error

View File

@@ -0,0 +1 @@
-c embedded

BIN
test/gfx/alpha_embedded.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

BIN
test/gfx/alpha_rgb.out.2bpp Normal file

Binary file not shown.

BIN
test/gfx/alpha_rgb.out.pal Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
test/gfx/alpha_rgb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

BIN
test/gfx/font_nums.out.2bpp Normal file

Binary file not shown.

BIN
test/gfx/font_nums.out.pal Normal file

Binary file not shown.

BIN
test/gfx/font_nums.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B