]> git.draconx.ca Git - liblbx.git/commit
liblbx: Add a field to lbx_colour indicating which entries are used.
authorNick Bowler <nbowler@draconx.ca>
Sun, 7 Feb 2010 22:11:26 +0000 (17:11 -0500)
committerNick Bowler <nbowler@draconx.ca>
Mon, 8 Feb 2010 17:00:55 +0000 (12:00 -0500)
commit84050ee438ba1661047709f3c8b95b126ca10f93
tree582983c5a6e72baaba77a92fb7032e145dece30d
parent4aed5deccace2e80cf7efa80ab451628c3ca2c3b
liblbx: Add a field to lbx_colour indicating which entries are used.

An LBX palette might not contain values for all 256 entries.  Currently,
there is no way to tell which entries were assigned when the palette is
retrieved from an image.  This patch adds an extra marker which can be
used to skip over unused palette entries.
src/image.c
src/image.h