mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-18 21:04:31 +00:00
Fix RGBGFX crash on deduplicating transparent tiles
This commit is contained in:
+1
-1
@@ -822,7 +822,7 @@ static UniqueTiles dedupTiles(
|
||||
attr.bank = 0;
|
||||
attr.tileID = 0;
|
||||
} else {
|
||||
auto [tileID, matchType] = tiles.addTile({tile, palettes[mappings[attr.colorSetID]]});
|
||||
auto [tileID, matchType] = tiles.addTile({tile, palettes[attr.getPalID(mappings)]});
|
||||
|
||||
if (inputWithoutOutput && matchType == TileData::NOPE) {
|
||||
error(
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
-m
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 488 B |
Reference in New Issue
Block a user