0
Fork 0
mirror of https://github.com/emersion/grim.git synced 2026-10-22 19:11:38 +00:00
grim/render.c
emersion 97202f2200 Add support for WL_SHM_FORMAT_XRGB8888
The format was incorrectly set to 0 instead of what we got from the
compositor. WL_SHM_FORMAT_ARGB8888 was defined to be 0 so the bug
was hidden.

We now choose the Cairo format depending on the Wayland format.

Fixes #17
2018-10-14 18:28:59 +02:00

95 lines
2.9 KiB