From c245ceb9081e412bb815480481670e295ddfc71a Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 21 Apr 2017 20:18:31 +0200 Subject: [PATCH] Change from RGBA to BGRA; slightly more Intel GPU-friendly, and Caspar uses that format. --- bmusb/bmusb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bmusb/bmusb.h b/bmusb/bmusb.h index 0ea7c36..7a31a4d 100644 --- a/bmusb/bmusb.h +++ b/bmusb/bmusb.h @@ -153,9 +153,9 @@ enum PixelFormat { // the stride member of VideoFormat. PixelFormat_10BitYCbCr, - // 8-bit 4:4:4:4 RGBA (in that order). bmusb itself doesn't + // 8-bit 4:4:4:4 BGRA (in that order). bmusb itself doesn't // produce this, but it is useful to represent e.g. synthetic inputs. - PixelFormat_8BitRGBA + PixelFormat_8BitBGRA }; typedef std::function