Changes required after some pixel formats were moved to the Public API in Core 30/153530/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 28 Sep 2017 15:54:51 +0000 (16:54 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 28 Sep 2017 15:55:04 +0000 (16:55 +0100)
Change-Id: I47df90dfc8ab19577510e3a764c45fa592fc2a53

platform-abstractions/portable/pixel-manipulation.cpp

index ef2defc..58e482e 100644 (file)
@@ -66,6 +66,8 @@ bool HasChannel( Dali::Pixel::Format pixelFormat, Channel channel )
     case Dali::Pixel::RGB888:
     case Dali::Pixel::RGB8888:
     case Dali::Pixel::BGR8888:
     case Dali::Pixel::RGB888:
     case Dali::Pixel::RGB8888:
     case Dali::Pixel::BGR8888:
+    case Dali::Pixel::RGB16F:
+    case Dali::Pixel::RGB32F:
     {
       return ( channel == RED || channel == GREEN || channel == BLUE );
     }
     {
       return ( channel == RED || channel == GREEN || channel == BLUE );
     }