Mercurial > hg > Members > kono > Cerium
annotate Renderer/Engine/spe/DataLoad.cc @ 870:79b2d56aa27a
fix SceneGraphRoot::set_game_task.
author | tkaito |
---|---|
date | Tue, 29 Jun 2010 04:23:52 +0900 |
parents | 01b6d924a560 |
children |
rev | line source |
---|---|
750 | 1 #include <stdio.h> |
2 #include <string.h> | |
3 #include "DataLoad.h" | |
4 #include "Func.h" | |
5 | |
6 /* これは必須 */ | |
7 SchedDefineTask(DataLoad); | |
8 | |
9 static int | |
10 run(SchedTask *s, void *rbuf, void *wbuf) | |
11 { | |
12 | |
823 | 13 long size = (long)s->get_param(0); |
14 long load_id = (long)s->get_param(1); | |
750 | 15 |
16 s->global_alloc(load_id, size); | |
17 | |
18 return 0; | |
19 } | |
20 |