Updates following enum changes to mesh and gradient renderer
[platform/core/uifw/dali-demo.git] / examples / gradients / gradients-example.cpp
index 654422e..324aa34 100644 (file)
@@ -117,7 +117,7 @@ public:
         Vector2 halfStageSize = Stage::GetCurrent().GetSize()*0.5f;
         gradientMap.Insert("startPosition",   halfStageSize);
         gradientMap.Insert("endPosition",    -halfStageSize );
-        gradientMap.Insert("units",  "userSpace");
+        gradientMap.Insert("units",  "USER_SPACE");
         break;
       }
       case 2: // radial gradient with units as objectBoundingBox
@@ -131,7 +131,7 @@ public:
         Vector2 stageSize = Stage::GetCurrent().GetSize();
         gradientMap.Insert("center",  stageSize*0.5f);
         gradientMap.Insert("radius",  stageSize.Length());
-        gradientMap.Insert("units",  "userSpace");
+        gradientMap.Insert("units",  "USER_SPACE");
         break;
       }
     }