mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
wayland: fix pixel format
This matches to the Wayland premultiplied_argb_visual the rest of the code is using. The format needs to differ based on endianness, though...
This commit is contained in:
parent
f6a6a44fe7
commit
2ff5cf5aa0
@ -93,7 +93,7 @@ wayland_create_buffer (ClutterGeometry *geom)
|
|||||||
geom->height,
|
geom->height,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
COGL_PIXEL_FORMAT_ARGB_8888);
|
COGL_PIXEL_FORMAT_ARGB_8888_PRE);
|
||||||
buffer->offscreen = cogl_offscreen_new_to_texture (buffer->tex);
|
buffer->offscreen = cogl_offscreen_new_to_texture (buffer->tex);
|
||||||
|
|
||||||
backend_wayland->export_drm_image (edpy, buffer->drm_image,
|
backend_wayland->export_drm_image (edpy, buffer->drm_image,
|
||||||
|
Loading…
Reference in New Issue
Block a user