Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/viewer.cc @ 1043:283b15633c0f
Merged ( app_loop should return 1, if you want to use allExecute )
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 08 Dec 2010 00:04:02 +0900 |
parents | b9cd0c88b69a b067fd5d8859 |
children | ab1378fc4f72 |
comparison
equal
deleted
inserted
replaced
1039:b9cd0c88b69a | 1043:283b15633c0f |
---|---|
313 | 313 |
314 dev->clean_pixels(); | 314 dev->clean_pixels(); |
315 | 315 |
316 pixels = dev->flip_screen(pixels); | 316 pixels = dev->flip_screen(pixels); |
317 sgroot->updateControllerState(); | 317 sgroot->updateControllerState(); |
318 if (app->app_main(this)) { | 318 if (app->app_loop(this)) { |
319 //TaskArray を使うか使わないか | 319 //TaskArray を使うか使わないか |
320 if (sgroot->gtask_array != NULL) { | 320 if (sgroot->gtask_array != NULL) { |
321 sgroot->create_task_array(); | 321 sgroot->create_task_array(); |
322 sgroot->allExecute(width, height); | 322 sgroot->allExecute(width, height); |
323 sgroot->task_array_finish(); | 323 sgroot->task_array_finish(); |