From: Seungho, Baek Date: Wed, 20 Nov 2019 08:18:03 +0000 (+0900) Subject: Use Depth attachment on the Capture X-Git-Tag: dali_1.4.52~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F218259%2F4;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Use Depth attachment on the Capture Change-Id: Iadf4c709fa19ee8c6a47c258786a9601446f3fde Signed-off-by: Seungho, Baek --- diff --git a/dali/internal/system/tizen-wayland/tizen-wearable/capture-impl-tizen.cpp b/dali/internal/system/tizen-wayland/tizen-wearable/capture-impl-tizen.cpp index ca7f80d..0e896c1 100755 --- a/dali/internal/system/tizen-wayland/tizen-wearable/capture-impl-tizen.cpp +++ b/dali/internal/system/tizen-wayland/tizen-wearable/capture-impl-tizen.cpp @@ -176,8 +176,8 @@ void Capture::CreateFrameBuffer() mNativeTexture = Dali::Texture::New( *mNativeImageSourcePtr ); - // Create a FrameBuffer object with no default attachments. - mFrameBuffer = Dali::FrameBuffer::New( mNativeTexture.GetWidth(), mNativeTexture.GetHeight(), Dali::FrameBuffer::Attachment::NONE ); + // Create a FrameBuffer object with depth attachments. + mFrameBuffer = Dali::FrameBuffer::New( mNativeTexture.GetWidth(), mNativeTexture.GetHeight(), Dali::FrameBuffer::Attachment::DEPTH ); // Add a color attachment to the FrameBuffer object. mFrameBuffer.AttachColorTexture( mNativeTexture ); }