# HG changeset patch # User Shinji KONO # Date 1291736368 -32400 # Node ID ab1378fc4f726929d802d7258a8d9a5a7e86d36c # Parent 150412ed980a534609bf76b47098cca227d8bfcd mainLoop is not a part of mainLoop in viwer.... move application_task diff -r 150412ed980a -r ab1378fc4f72 Renderer/Engine/viewer.cc --- 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;