Revert "[Tizen] Add codes for Dali Windows Backend"
[platform/core/uifw/dali-core.git] / dali / devel-api / images / distance-field.cpp
old mode 100755 (executable)
new mode 100644 (file)
index 63a5150..6e4346d
@@ -84,9 +84,8 @@ const float MAX_DISTANCE( 1e20 );
  */
 void DistanceTransform( float *source, float* dest, unsigned int length )
 {
-  std::vector<int> parabolas(length);    // Locations of parabolas in lower envelope
-  std::vector<float> edge(length + 1);   // Locations of boundaries between parabolas
-
+  int parabolas[length];    // Locations of parabolas in lower envelope
+  float edge[length + 1];   // Locations of boundaries between parabolas
   int rightmost(0);         // Index of rightmost parabola in lower envelope
 
   parabolas[0] = 0;