X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fupdate%2Fnodes%2Fscene-graph-layer.cpp;h=573cceea828f2e910986d6420177ebd7f289bc45;hb=9ac94c145f620fc90c39a0f3dadbd88cc4b01940;hp=3540e010e50bb50583599bf72bb7cd8eb677c98d;hpb=8b0b50bb14b39e34a119c573cad63fd03c96b09a;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/update/nodes/scene-graph-layer.cpp b/dali/internal/update/nodes/scene-graph-layer.cpp index 3540e01..573ccee 100644 --- a/dali/internal/update/nodes/scene-graph-layer.cpp +++ b/dali/internal/update/nodes/scene-graph-layer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 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. @@ -42,7 +42,7 @@ Layer::Layer() mLastCamera( NULL ), mBehavior( Dali::Layer::LAYER_2D ), mIsClipping( false ), - mDepthTestDisabled( false ), + mDepthTestDisabled( true ), mIsDefaultSortFunction( true ) { // layer starts off dirty @@ -97,12 +97,11 @@ void Layer::SetDepthTestDisabled( bool disable ) bool Layer::IsDepthTestDisabled() const { - return ( mBehavior == Dali::Layer::LAYER_2D ) || mDepthTestDisabled; + return mDepthTestDisabled; } void Layer::ClearRenderables() { - stencilRenderables.Clear(); colorRenderables.Clear(); overlayRenderables.Clear(); }