summaryrefslogtreecommitdiff
path: root/src/bin/vg_basic_gradient.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-12-24 15:14:51 +0900
committerHermet Park <hermetpark@gmail.com>2019-12-24 15:14:51 +0900
commit7874ae718f29b4b8ce7f4920ecc418f43af6abf8 (patch)
tree3d4599f5ddd51475337c3a7328f238e3dd8950c6 /src/bin/vg_basic_gradient.c
parent03324357edec0fbf53f13a56a1efccdd84bfe0c6 (diff)
Setup before starting fps measurement
It's not good to include the setup in fps measurement, Also, animator tick occur immediately when test item is selected. We need to setup before it in order to avoid invalid objects access.
Diffstat (limited to 'src/bin/vg_basic_gradient.c')
-rw-r--r--src/bin/vg_basic_gradient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/vg_basic_gradient.c b/src/bin/vg_basic_gradient.c
index bdea66f..d7cacc1 100644
--- a/src/bin/vg_basic_gradient.c
+++ b/src/bin/vg_basic_gradient.c
@@ -117,8 +117,8 @@ void FNAME(void);
117# ifndef UI 117# ifndef UI
118void FNAME(void) 118void FNAME(void)
119{ 119{
120 ui_func_set(_key, _loop);
121 _setup(); 120 _setup();
121 ui_func_set(_key, _loop);
122} 122}
123# endif 123# endif
124#endif 124#endif