From 6de386cfd57aaf71d286b96342fb28cea829d9fd Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Tue, 15 Nov 2022 15:51:52 +0900 Subject: [PATCH] Remove duplicated code Change-Id: I749a0f13fa59aed7f09ae6308fb655dfd96d58c0 Signed-off-by: Eunki, Hong --- dali/internal/graphics/gles-impl/gles-graphics-pipeline.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dali/internal/graphics/gles-impl/gles-graphics-pipeline.cpp b/dali/internal/graphics/gles-impl/gles-graphics-pipeline.cpp index a39260e..5454c84 100644 --- a/dali/internal/graphics/gles-impl/gles-graphics-pipeline.cpp +++ b/dali/internal/graphics/gles-impl/gles-graphics-pipeline.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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. @@ -66,7 +66,6 @@ PipelineImpl::PipelineImpl(const Graphics::PipelineCreateInfo& createInfo, Graph CopyStateIfSet(createInfo.programState, mPipelineState->programState, &mCreateInfo.programState); CopyStateIfSet(createInfo.colorBlendState, mPipelineState->colorBlendState, &mCreateInfo.colorBlendState); CopyStateIfSet(createInfo.depthStencilState, mPipelineState->depthStencilState, &mCreateInfo.depthStencilState); - CopyStateIfSet(createInfo.programState, mPipelineState->programState, &mCreateInfo.programState); CopyStateIfSet(createInfo.viewportState, mPipelineState->viewportState, &mCreateInfo.viewportState); // This program doesn't need custom deleter -- 2.7.4