mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-07 08:21:02 -04:00
wayland: shm: fix debug builds when LOG_ENABLE_DBG == 0
This commit is contained in:
parent
48aa5decef
commit
ecf3b864e4
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ shm_format(void *data, struct wl_shm *wl_shm, uint32_t format)
|
||||||
case WL_SHM_FORMAT_ABGR16161616: wayl->shm_have_abgr161616 = true; break;
|
case WL_SHM_FORMAT_ABGR16161616: wayl->shm_have_abgr161616 = true; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(_DEBUG)
|
#if defined(_DEBUG) && LOG_ENABLE_DBG == 1
|
||||||
bool have_description = false;
|
bool have_description = false;
|
||||||
const char c4 = (format >> 24) & 0xff;
|
const char c4 = (format >> 24) & 0xff;
|
||||||
const char c3 = (format >> 16) & 0xff;
|
const char c3 = (format >> 16) & 0xff;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue