Allow background property to be set as a URL string, get will still return a map
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / shader-effects / mask-effect.h
index fecc1b9..dd11e2f 100644 (file)
@@ -2,7 +2,7 @@
 #define __DALI_TOOLKIT_MASK_EFFECT_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.
@@ -20,7 +20,7 @@
 
 // EXTERNAL INCLUDES
 #include <dali/public-api/images/image.h>
-#include <dali/public-api/shader-effects/shader-effect.h>
+#include <dali/devel-api/shader-effects/shader-effect.h>
 
 namespace Dali
 {
@@ -56,7 +56,6 @@ inline ShaderEffect CreateMaskEffect(Image maskImage)
   ShaderEffect shaderEffect = ShaderEffect::New(
       "", // Use default
       ALPHA_MASK_FRAGMENT_SHADER_SOURCE,
-      GeometryType( GEOMETRY_TYPE_IMAGE ),
       ShaderEffect::GeometryHints( ShaderEffect::HINT_BLENDING ) );
 
   shaderEffect.SetEffectImage( maskImage );