screenshoter: add cases for x8r8g8b8 and x8b8g8r8 formats
authorVasily Khoruzhick <anarsoul@gmail.com>
Sun, 6 Jan 2013 09:12:41 +0000 (12:12 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 7 Jan 2013 14:40:42 +0000 (09:40 -0500)
commit2617185b74c97fd32b46a730fff16eb2b0eea646
tree062f8304422395c0de63cac4dc62125083c71253
parent094ca1d1edb393ab3797d6e922e7c8c54d3defcf
screenshoter: add cases for x8r8g8b8 and x8b8g8r8 formats

These formats are used by pixman renderer for framebuffer surface, without
this patch screenshoter produces empty image.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/screenshooter.c