Mercurial > hg > Members > kono > Cerium
view 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 |
line wrap: on
line source
#include <stdio.h> #include <string.h> #include "DataLoad.h" #include "Func.h" /* これは必須 */ SchedDefineTask(DataLoad); static int run(SchedTask *s, void *rbuf, void *wbuf) { long size = (long)s->get_param(0); long load_id = (long)s->get_param(1); s->global_alloc(load_id, size); return 0; }