From 2ff5cf5aa0178e921203a220e64645ae2f705de2 Mon Sep 17 00:00:00 2001 From: nobled Date: Mon, 31 Jan 2011 02:27:23 +0000 Subject: [PATCH] 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... --- clutter/wayland/clutter-stage-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/wayland/clutter-stage-wayland.c b/clutter/wayland/clutter-stage-wayland.c index 6011b9d40..958feeca4 100644 --- a/clutter/wayland/clutter-stage-wayland.c +++ b/clutter/wayland/clutter-stage-wayland.c @@ -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,