Mercurial > hg > Game > Cerium
changeset 1045:11a9bc9928d0 draft
mainLoop is not a part of mainLoop in viwer.... move application_task
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 08 Dec 2010 00:39:28 +0900 |
parents | a8890e363061 |
children | a4d00a3c4fb7 |
files | Renderer/Engine/viewer.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/viewer.cc Wed Dec 08 00:05:31 2010 +0900 +++ b/Renderer/Engine/viewer.cc Wed Dec 08 00:39:28 2010 +0900 @@ -293,7 +293,6 @@ { HTaskPtr task_next = initLoop(); - task_next = app->application_task(task_next, this); task_next->set_post(&post2runLoop, (void *)this, (void*)pixels); // set_post(function(this->run_loop()), NULL) task_next->spawn(); } @@ -301,6 +300,7 @@ void Viewer::run_loop(HTaskPtr task_next) { + task_next = app->application_task(task_next, this); dev->clear_screen(); bool quit_flg;