From: Heeyong Song Date: Thu, 12 Nov 2020 07:19:38 +0000 (+0900) Subject: [Tizen] Fix pixel format bug in pixel manipulation X-Git-Tag: accepted/tizen/unified/20201120.125450~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=a63a198ce3428cf8f66da17fd3be22c07db3ed5c;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git [Tizen] Fix pixel format bug in pixel manipulation LUMINANCE should be first in LUMINANCE_ALPHA_CHANNELS format. Change-Id: Ia9bef6173f24a54d7fc8140381affa5a342e3e1e --- diff --git a/dali/internal/imaging/common/pixel-manipulation.cpp b/dali/internal/imaging/common/pixel-manipulation.cpp index fa5094a..fff8604 100644 --- a/dali/internal/imaging/common/pixel-manipulation.cpp +++ b/dali/internal/imaging/common/pixel-manipulation.cpp @@ -33,7 +33,7 @@ namespace constexpr Channel ALPHA_CHANNEL_ONLY[] = {ALPHA}; constexpr Channel LUMINANCE_CHANNEL_ONLY[] = {LUMINANCE}; -constexpr Channel LUMINANCE_ALPHA_CHANNELS[] = {ALPHA, LUMINANCE}; +constexpr Channel LUMINANCE_ALPHA_CHANNELS[] = {LUMINANCE, ALPHA}; constexpr Channel RGB_CHANNELS[] = {RED, GREEN, BLUE}; constexpr Channel BGR_CHANNELS[] = {BLUE, GREEN, RED}; constexpr Channel RGBA_CHANNELS[] = {RED, GREEN, BLUE, ALPHA};