projects
/
platform
/
core
/
uifw
/
dali-demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Tizen] Add codes for Dali Windows Backend
[platform/core/uifw/dali-demo.git]
/
examples
/
refraction-effect
/
refraction-effect-example.cpp
diff --git
a/examples/refraction-effect/refraction-effect-example.cpp
b/examples/refraction-effect/refraction-effect-example.cpp
old mode 100644
(file)
new mode 100755
(executable)
index
14c4878
..
ad10428
--- a/
examples/refraction-effect/refraction-effect-example.cpp
+++ b/
examples/refraction-effect/refraction-effect-example.cpp
@@
-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;