Mercurial > hg > dmlib
diff tools/libgfx.h @ 1759:027fb7313d85
Add a format flag for marking formats that have broken/incomplete support and use it.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 11 Jun 2018 18:09:00 +0300 |
parents | 59c2b08a80a6 |
children | 0562dd55a1f6 |
line wrap: on
line diff
--- a/tools/libgfx.h Mon Jun 11 17:58:44 2018 +0300 +++ b/tools/libgfx.h Mon Jun 11 18:09:00 2018 +0300 @@ -59,9 +59,10 @@ // Flags for readability/writeability of formats enum { - DM_FMT_WR = 0x0001, - DM_FMT_RD = 0x0002, - DM_FMT_RDWR = (DM_FMT_RD | DM_FMT_WR), + DM_FMT_WR = 0x0001, // Format can be written + DM_FMT_RD = 0x0002, // Format can be read + DM_FMT_RDWR = (DM_FMT_RD | DM_FMT_WR), // Read and write support + DM_FMT_BROKEN = 0x1000, // Support is broken/incomplete };