# HG changeset patch # User Matti Hamalainen # Date 1526471089 -10800 # Node ID c8afa3e6c4137b460490461792478e731d379869 # Parent 9a8395b56d1a287d3a5ed41fa9e54d168d606863 Print an error/warning about PBM files that have half-brite set. diff -r 9a8395b56d1a -r c8afa3e6c413 tools/libgfx.c --- a/tools/libgfx.c Wed May 16 14:38:10 2018 +0300 +++ b/tools/libgfx.c Wed May 16 14:44:49 2018 +0300 @@ -1936,6 +1936,10 @@ if (iff.camg & IFF_CAMG_HALFBRITE) { void *ptmp; + if (!iff.planar) + { + dmErrorMsg("ILBM: Non-planar PBM file with Halfbrite enabled! This might not work.\n"); + } if (iff.ncolors > 128) {