Mercurial > hg > dmlib
diff tools/libgfx.h @ 2586:9807ae37ad69
Require stdbool.h, we require C11 now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 08 Dec 2022 15:59:22 +0200 |
parents | c6ee41fd98dd |
children | c3c1d3c75f53 |
line wrap: on
line diff
--- a/tools/libgfx.h Thu Dec 08 15:56:36 2022 +0200 +++ b/tools/libgfx.h Thu Dec 08 15:59:22 2022 +0200 @@ -64,7 +64,7 @@ // Probe scores enum { - DM_PROBE_SCORE_FALSE = 0, + DM_PROBE_SCORE_false = 0, DM_PROBE_SCORE_MAYBE = 250, DM_PROBE_SCORE_AVG = 500, DM_PROBE_SCORE_GOOD = 750, @@ -101,7 +101,7 @@ float aspect; // aspect ratio (vert / horiz), <= 0 if not set - BOOL constpal; // is the palette a const? + bool constpal; // is the palette a const? DMPalette *pal; // pointer to palette struct, NULL if no palette size_t size; @@ -117,7 +117,7 @@ int nplanes, bpp; // number of bitplanes to use, bits per PLANE to use int mask; // masking - BOOL planar; // use planar format if the format supports it + bool planar; // use planar format if the format supports it int compression; // Use compression/compression level (0 = none, 9 = max) // (not all formats support any, or more than on/off compression) } DMImageWriteSpec;