From 1bb17d57debf1654048da284ee6ac6c30998c9f3 Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Wed, 20 Nov 2019 17:18:03 +0900 Subject: [PATCH] Use Depth attachment on the Capture Change-Id: Iadf4c709fa19ee8c6a47c258786a9601446f3fde Signed-off-by: Seungho, Baek --- .../system/tizen-wayland/tizen-wearable/capture-impl-tizen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 2.7.4