Rangi42 / tilemap-studio

A tilemap editor for Game Boy, Color, Advance, DS, and SNES projects. Written in C++ with FLTK.
https://hax.iimarckus.org/topic/7691/
Other
381 stars 30 forks source link

"libpng error: Wrote palette index exceeding num_palette" #57

Closed Rangi42 closed 3 years ago

Rangi42 commented 3 years ago
-fl_rectf(0, 0, tw * TILE_SIZE, th * TILE_SIZE, indexed ? 0 : blank_color);
+fl_rectf(0, 0, tw * TILE_SIZE, th * TILE_SIZE, indexed ? start_index : blank_color);

image