mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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:

committed by
Marge Bot

parent
b65f333483
commit
98bd2aa2c2
@ -245,7 +245,7 @@ capture_view_into (ClutterStageView *view,
|
||||
context = clutter_backend_get_cogl_context (backend);
|
||||
bitmap = cogl_bitmap_new_for_data (context,
|
||||
texture_width, texture_height,
|
||||
CLUTTER_CAIRO_FORMAT_ARGB32,
|
||||
COGL_PIXEL_FORMAT_CAIRO_ARGB32_COMPAT,
|
||||
stride,
|
||||
buffer);
|
||||
|
||||
|
Reference in New Issue
Block a user