clutter: Move cairo pixel format to cogl

As Cogl already defines a pixel format enum, it makes sense to move such
endian dependant pixel format there

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3086>
This commit is contained in:
Bilal Elmoussaoui
2023-06-22 13:46:50 +02:00
committed by Marge Bot
parent b65f333483
commit 98bd2aa2c2
13 changed files with 20 additions and 63 deletions

View File

@ -401,7 +401,7 @@ meta_screen_cast_virtual_stream_src_record_to_buffer (MetaScreenCastStreamSrc *
scale,
data,
stride,
CLUTTER_CAIRO_FORMAT_ARGB32,
COGL_PIXEL_FORMAT_CAIRO_ARGB32_COMPAT,
paint_flags,
error))
return FALSE;