diff options
author | Adeel Kazmi <adeel.kazmi@samsung.com> | 2024-07-04 16:31:21 +0100 |
---|---|---|
committer | Adeel Kazmi <adeel.kazmi@samsung.com> | 2024-07-04 15:27:05 +0000 |
commit | 3a782250e987a9e83a90e04bddb3c221ee52be0c (patch) | |
tree | 9884abd2aacc8fb94f0fad06d2a4f1aff9c410c4 /dali | |
parent | 063faff1bee7cd88ce4e4c3e8a9ceb79a52a5f54 (diff) | |
download | dali-adaptor-3a782250e987a9e83a90e04bddb3c221ee52be0c.tar.gz dali-adaptor-3a782250e987a9e83a90e04bddb3c221ee52be0c.tar.bz2 dali-adaptor-3a782250e987a9e83a90e04bddb3c221ee52be0c.zip |
(Capture) Remove compilation warning for unused variable
Change-Id: I1d7655747d518ee5aa8b6f9a62efc23d4d82dac9
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"); |