From: Seungho, Baek Date: Thu, 16 Apr 2020 03:47:47 +0000 (+0900) Subject: Add Pixel format for depth and stencil X-Git-Tag: dali_1.9.9~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb0006f9fa400c6e3c3ec8aaf698d8095dbd646d;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git Add Pixel format for depth and stencil - add cases on the switch to control pixel enum Change-Id: Ib9c88d92926263e24fbd18c9bbed17ee76559a71 Signed-off-by: Seungho, Baek --- diff --git a/dali-toolkit/internal/visuals/npatch-loader.cpp b/dali-toolkit/internal/visuals/npatch-loader.cpp index 6745adff52..0c6409d4bf 100644 --- a/dali-toolkit/internal/visuals/npatch-loader.cpp +++ b/dali-toolkit/internal/visuals/npatch-loader.cpp @@ -147,6 +147,9 @@ void GetRedOffsetAndMask( Dali::Pixel::Format pixelFormat, int& byteOffset, int& } case Dali::Pixel::RGB16F: case Dali::Pixel::RGB32F: + case Dali::Pixel::DEPTH_UNSIGNED_INT: + case Dali::Pixel::DEPTH_FLOAT: + case Dali::Pixel::DEPTH_STENCIL: { DALI_LOG_ERROR("Pixel format not compatible.\n"); byteOffset=0;