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:
nobled 2011-01-31 02:27:23 +00:00
parent f6a6a44fe7
commit 2ff5cf5aa0

View File

@ -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,