diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-07 21:43:36 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-06-07 21:54:19 +0300 |
commit | 323f137631da53d4fbb057c1a3847c6b8aa69ab2 (patch) | |
tree | d7118338063a7fb56b40676d6d6a51eaf3b2cc48 /vcl/headless/svpelement.cxx | |
parent | fd3c83d5f2414b2bba7b941609b59452a6d5b1e8 (diff) |
Use the new THIRTYTWO_BIT_TC_MASK_RGBA format for Android and iOS
Change-Id: I7cc8c5943454edea7fdef50b125d0baa95fc3f8b
Diffstat (limited to 'vcl/headless/svpelement.cxx')
-rw-r--r-- | vcl/headless/svpelement.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/headless/svpelement.cxx b/vcl/headless/svpelement.cxx index 80a47fec5f2f..0a623c637782 100644 --- a/vcl/headless/svpelement.cxx +++ b/vcl/headless/svpelement.cxx @@ -279,7 +279,10 @@ sal_uInt32 SvpElement::getBitCountFromScanlineFormat( sal_Int32 nFormat ) case Format::TWENTYFOUR_BIT_TC_MASK: nBitCount = 24; break; - case Format::THIRTYTWO_BIT_TC_MASK: + case Format::THIRTYTWO_BIT_TC_MASK_BGRA: + case Format::THIRTYTWO_BIT_TC_MASK_ARGB: + case Format::THIRTYTWO_BIT_TC_MASK_ABGR: + case Format::THIRTYTWO_BIT_TC_MASK_RGBA: nBitCount = 32; break; default: |