Mercurial > hg > dmlib
comparison 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 |
comparison
equal
deleted
inserted
replaced
1758:8014e4cbebfe | 1759:027fb7313d85 |
---|---|
57 | 57 |
58 | 58 |
59 // Flags for readability/writeability of formats | 59 // Flags for readability/writeability of formats |
60 enum | 60 enum |
61 { | 61 { |
62 DM_FMT_WR = 0x0001, | 62 DM_FMT_WR = 0x0001, // Format can be written |
63 DM_FMT_RD = 0x0002, | 63 DM_FMT_RD = 0x0002, // Format can be read |
64 DM_FMT_RDWR = (DM_FMT_RD | DM_FMT_WR), | 64 DM_FMT_RDWR = (DM_FMT_RD | DM_FMT_WR), // Read and write support |
65 DM_FMT_BROKEN = 0x1000, // Support is broken/incomplete | |
65 }; | 66 }; |
66 | 67 |
67 | 68 |
68 // Bitmapped image struct | 69 // Bitmapped image struct |
69 typedef struct | 70 typedef struct |