# HG changeset patch # User Matti Hamalainen # Date 1587130266 -10800 # Node ID 637a310e3f27505c7b9d0dc88ac0e512c01683a6 # Parent 16c57206cef7c02e3d5ed3dcdf06390c7e0fa5c6 Adjust DM_FMT_* flag values slightly. diff -r 16c57206cef7 -r 637a310e3f27 tools/libgfx.h --- a/tools/libgfx.h Thu Apr 16 17:38:56 2020 +0300 +++ b/tools/libgfx.h Fri Apr 17 16:31:06 2020 +0300 @@ -72,13 +72,14 @@ }; -// Flags for readability/writeability of formats +// Flags for readability/writeability support of formats +// These can be combined with DM_PIXFMT_* for some uses. enum { - DM_FMT_WR = 0x0001, // Format can be written - DM_FMT_RD = 0x0002, // Format can be read + DM_FMT_WR = 0x00001, // Format can be written + DM_FMT_RD = 0x00002, // 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 + DM_FMT_BROKEN = 0x00008, // Support is broken/incomplete };