]> git.draconx.ca Git - liblbx.git/blobdiff - src/image.h
liblbx: Don't scale palette values internally.
[liblbx.git] / src / image.h
index b51b3600dea242e92676c949fab04bc2ef7d0e9e..2057a423e85d035b49e5a34faf5cdb6bd62f2a79 100644 (file)
@@ -11,10 +11,7 @@ struct lbx_image {
 };
 
 struct lbx_colour {
-       unsigned char red;
-       unsigned char green;
-       unsigned char blue;
-       unsigned char active;
+       unsigned red:6, green:6, blue:6, active:1;
 };
 
 struct lbx_imginfo {