Mercurial > hg > Game > Cerium
view Renderer/Engine/task/DataFree.cc @ 915:aa9728394194 draft
create_polygon_task ..not worked yet.
author | yutaka@localhost.localdomain |
---|---|
date | Fri, 23 Jul 2010 18:05:40 +0900 |
parents | |
children | 5664473b4dba |
line wrap: on
line source
#include <stdio.h> #include <string.h> #include "DataFree.h" #include "Func.h" /* これは必須 */ SchedDefineTask(DataFree); static int run(SchedTask *s, void *rbuf, void *wbuf) { long load_id = (long)s->get_param(0); //printf("size %d",sizeof(float)*length); s->global_free(load_id); //MemList *ml = s->createMemList(length,length); //s->global_set(load_id, (void *)ml); return 0; }