pixels: Add strings for RGB222 and BGR222

pull/110/head
Andri Yngvason 2024-02-02 22:14:28 +00:00
parent c7d7929f7c
commit 584fb77cc8
1 changed files with 2 additions and 0 deletions

View File

@ -657,6 +657,8 @@ const char* rfb_pixfmt_to_string(const struct rfb_pixel_format* fmt)
CASE(8, 4, 0): return "XRGB4444"; CASE(8, 4, 0): return "XRGB4444";
CASE(0, 4, 8): return "XBGR4444"; CASE(0, 4, 8): return "XBGR4444";
CASE(11, 5, 0): return "RGB565"; CASE(11, 5, 0): return "RGB565";
CASE(4, 2, 0): return "RGB222";
CASE(0, 2, 4): return "BGR222";
#undef CASE #undef CASE
} }