diff options
author | Adeel Kazmi <adeel.kazmi@samsung.com> | 2024-07-05 09:58:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review> | 2024-07-05 09:58:54 +0000 |
commit | 1953e6ee48fa5e1f5b94b8df97b116b5cd7275b1 (patch) | |
tree | 03ab5d794465a8014280ebd6def8bcaa8b7a6b4e /dali | |
parent | 128ab542302cae47ad1906d0ea148332f610f036 (diff) | |
parent | 3a782250e987a9e83a90e04bddb3c221ee52be0c (diff) | |
download | dali-adaptor-1953e6ee48fa5e1f5b94b8df97b116b5cd7275b1.tar.gz dali-adaptor-1953e6ee48fa5e1f5b94b8df97b116b5cd7275b1.tar.bz2 dali-adaptor-1953e6ee48fa5e1f5b94b8df97b116b5cd7275b1.zip |
Merge "(Capture) Remove compilation warning for unused variable" into devel/master
Diffstat (limited to 'dali')
-rw-r--r-- | dali/internal/system/common/capture-impl.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dali/internal/system/common/capture-impl.cpp b/dali/internal/system/common/capture-impl.cpp index b07500c69..1c7263f9e 100644 --- a/dali/internal/system/common/capture-impl.cpp +++ b/dali/internal/system/common/capture-impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Samsung Electronics Co., Ltd. + * Copyright (c) 2024 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -296,10 +296,6 @@ bool Capture::IsRenderTaskSetup() void Capture::SetupResources(const Dali::Vector2& position, const Dali::Vector2& size, const Dali::Vector4& clearColor, Dali::Actor source) { - Dali::Internal::Adaptor::Adaptor& adaptor = Internal::Adaptor::Adaptor::GetImplementation(Internal::Adaptor::Adaptor::Get()); - GraphicsInterface* graphics = &adaptor.GetGraphicsInterface(); - auto eglGraphics = static_cast<EglGraphics*>(graphics); - if(mFileSave && Dali::Shader::GetShaderLanguageVersion() < SHADER_VERSION_NATIVE_IMAGE_SOURCE_AVAILABLE) { DALI_LOG_ERROR("GLES is 2.0, we can't use native image source \n"); |