summaryrefslogtreecommitdiff
path: root/src/screenshooter.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2013-05-29 12:01:32 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-05-29 10:21:58 -0400
commit5576546e3d1b66627fb4693f2dc97ccef0402a2d (patch)
tree831c071af974dc7bcf1b63a502c224a7536513b5 /src/screenshooter.c
parent690f718834d5eb2b73e4627f8c02ee04710f91e6 (diff)
downloadweston-5576546e3d1b66627fb4693f2dc97ccef0402a2d.tar.gz
screenshoter: Make recorder handle PIXMAN_x8r8g8b8
This is what the pixman renderer reports for the read format.
Diffstat (limited to 'src/screenshooter.c')
-rw-r--r--src/screenshooter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screenshooter.c b/src/screenshooter.c
index dde052fd..d088cf71 100644
--- a/src/screenshooter.c
+++ b/src/screenshooter.c
@@ -465,6 +465,7 @@ weston_recorder_create(struct weston_output *output, const char *filename)
header.magic = WCAP_HEADER_MAGIC;
switch (compositor->read_format) {
+ case PIXMAN_x8r8g8b8:
case PIXMAN_a8r8g8b8:
header.format = WCAP_FORMAT_XRGB8888;
break;