Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Test/test_render/spe/ChainInit.cc @ 528:541013f7015c
Application ander constructing
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 20 Oct 2009 23:25:22 +0900 |
parents | 699ee087234e |
children |
comparison
equal
deleted
inserted
replaced
526:214cd21049e0 | 528:541013f7015c |
---|---|
25 uint32 chain_len = s->get_param(0); | 25 uint32 chain_len = s->get_param(0); |
26 | 26 |
27 // property は spe 上で allocate している(global) | 27 // property は spe 上で allocate している(global) |
28 CHAIN_VARS *property = (CHAIN_VARS*)s->global_alloc(DATA_ID, sizeof(CHAIN_VARS)*chain_len); | 28 CHAIN_VARS *property = (CHAIN_VARS*)s->global_alloc(DATA_ID, sizeof(CHAIN_VARS)*chain_len); |
29 memcpy(property, idata, sizeof(CHAIN_VARS)*chain_len); | 29 memcpy(property, idata, sizeof(CHAIN_VARS)*chain_len); |
30 | 30 |
31 return 0; | 31 return 0; |
32 } | 32 } |