Mercurial > hg > Game > Cerium
comparison TaskManager/Test/test_render/task/Switch.cc @ 421:6094dfd1f08c draft
comment
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 12:35:32 +0900 |
parents | 0ec031961882 |
children | c89b034ca2ea |
comparison
equal
deleted
inserted
replaced
420:cd9baead0c39 | 421:6094dfd1f08c |
---|---|
7 SchedDefineTask(Switch); | 7 SchedDefineTask(Switch); |
8 | 8 |
9 int | 9 int |
10 Switch::run(void *rbuf, void *wbuf) | 10 Switch::run(void *rbuf, void *wbuf) |
11 { | 11 { |
12 // 配列にする | |
12 SceneGraphRootPtr tmp = sgroot; | 13 SceneGraphRootPtr tmp = sgroot; |
13 sgroot = sgroot_2; | 14 sgroot = sgroot_2; |
14 sgroot_2 = tmp; | 15 sgroot_2 = tmp; |
15 | 16 |
16 return 0; | 17 return 0; |