wayland: Add format hex value to debug print

It's how it's listed in the spec, this makes it easier to search.
This commit is contained in:
Benjamin Otte 2021-09-20 07:04:20 +02:00
parent e931afdc9b
commit d17552670c

View File

@ -296,7 +296,7 @@ wl_shm_format (void *data,
{
GDK_NOTE (MISC,
char buf[10];
g_message ("supported pixel format %s", get_format_name (format, buf));
g_message ("supported pixel format %s (0x%X)", get_format_name (format, buf), (guint) format);
);
}