X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fimages%2Fatlas-impl.cpp;h=97ab217c3d05e9e7ca83193b3cb4e0f9e816a4ff;hb=ff364987bf3c2ef5bb2b57348747eeb784d8ba90;hp=8cc31630064c32c9146fc5c40c760a9ceaa625ea;hpb=334442ab65c242cf6da1435749a5c5c5bb69f592;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/images/atlas-impl.cpp b/dali/internal/event/images/atlas-impl.cpp index 8cc3163..97ab217 100644 --- a/dali/internal/event/images/atlas-impl.cpp +++ b/dali/internal/event/images/atlas-impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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. @@ -182,11 +182,7 @@ void Atlas::Disconnect() { --mConnectionCount; - if ( Dali::Image::UNUSED == mReleasePolicy && - mConnectionCount == 0 ) - { - ReleaseAtlas(); - } + // Only release the atlas upon destruction } }