X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fshader-effects%2Fswirl-effect.h;h=c8c61bb5735fd519ee9143196c51c7ac437e5fff;hp=3c8b36fb2918b51dc2ee5fc4d4fd00571ae35ab3;hb=0de4495ae0ad22b60ce3d1257e30628ea518f377;hpb=abf2533b2621e07a62a7ac65944959a18bd89673 diff --git a/dali-toolkit/devel-api/shader-effects/swirl-effect.h b/dali-toolkit/devel-api/shader-effects/swirl-effect.h index 3c8b36f..c8c61bb 100644 --- a/dali-toolkit/devel-api/shader-effects/swirl-effect.h +++ b/dali-toolkit/devel-api/shader-effects/swirl-effect.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_SHADER_EFFECT_SWIRL_H__ /* - * 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. @@ -19,7 +19,7 @@ */ // EXTERNAL INCLUDES -#include +#include namespace Dali { @@ -50,7 +50,7 @@ inline ShaderEffect CreateSwirlEffect( bool warp ) "uniform mediump vec2 uCenter;\n" "void main()\n" "{\n" - " highp vec2 textureCenter = (uTextureRect.xy + uTextureRect.zw) * 0.5;\n" + " highp vec2 textureCenter = (sTextureRect.xy + sTextureRect.zw) * 0.5;\n" " textureCenter = vTexCoord.st - textureCenter;\n" " highp float distance = length(textureCenter);\n" " if (distance >= uRadius)\n"