From a63a198ce3428cf8f66da17fd3be22c07db3ed5c Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Thu, 12 Nov 2020 16:19:38 +0900 Subject: [PATCH] [Tizen] Fix pixel format bug in pixel manipulation LUMINANCE should be first in LUMINANCE_ALPHA_CHANNELS format. Change-Id: Ia9bef6173f24a54d7fc8140381affa5a342e3e1e --- dali/internal/imaging/common/pixel-manipulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- 2.7.4