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,
|
||||
0,
|
||||
0,
|
||||
COGL_PIXEL_FORMAT_ARGB_8888);
|
||||
COGL_PIXEL_FORMAT_ARGB_8888_PRE);
|
||||
buffer->offscreen = cogl_offscreen_new_to_texture (buffer->tex);
|
||||
|
||||
backend_wayland->export_drm_image (edpy, buffer->drm_image,
|
||||
|
Loading…
Reference in New Issue
Block a user