Fix svace issue 89/304089/1
authorjmm <j0064423.lee@samsung.com>
Wed, 10 Jan 2024 03:44:29 +0000 (12:44 +0900)
committerjmm <j0064423.lee@samsung.com>
Wed, 10 Jan 2024 03:44:29 +0000 (12:44 +0900)
Change-Id: I86bf7507e4e2ddf7f360ac18856636466275ba05

dali/internal/graphics/gles-impl/egl-graphics-controller.cpp

index fef6d60..db7879c 100644 (file)
@@ -357,7 +357,7 @@ MemoryRequirements EglGraphicsController::GetBufferMemoryRequirements(Buffer& bu
 TextureProperties EglGraphicsController::GetTextureProperties(const Texture& texture)
 {
   const GLES::Texture* glesTexture = static_cast<const GLES::Texture*>(&texture);
-  auto                 createInfo  = glesTexture->GetCreateInfo();
+  const auto&          createInfo  = glesTexture->GetCreateInfo();
 
   TextureProperties properties{};
   properties.format       = createInfo.format;