[Tizen] Add codes for Dali Windows Backend
[platform/core/uifw/dali-demo.git] / examples / refraction-effect / refraction-effect-example.cpp
old mode 100644 (file)
new mode 100755 (executable)
index 14c4878..ad10428
@@ -509,7 +509,9 @@ private:
         }
 
         std::istringstream iss(line.substr(2), std::istringstream::in);
-        unsigned int indices[ numOfInt ];
+
+        std::vector<unsigned int> indices( numOfInt );
+
         unsigned int i=0;
         while( iss >> indices[i++] && i < numOfInt);
         unsigned int step = (i+1) / 3;