Mercurial > hg > Game > Cerium
comparison 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 (2010-07-23) |
parents | |
children | 5664473b4dba |
comparison
equal
deleted
inserted
replaced
914:6286b3baf744 | 915:aa9728394194 |
---|---|
1 #include <stdio.h> | |
2 #include <string.h> | |
3 #include "DataFree.h" | |
4 #include "Func.h" | |
5 | |
6 /* これは必須 */ | |
7 SchedDefineTask(DataFree); | |
8 | |
9 static int | |
10 run(SchedTask *s, void *rbuf, void *wbuf) | |
11 { | |
12 | |
13 long load_id = (long)s->get_param(0); | |
14 | |
15 //printf("size %d",sizeof(float)*length); | |
16 | |
17 s->global_free(load_id); | |
18 | |
19 //MemList *ml = s->createMemList(length,length); | |
20 //s->global_set(load_id, (void *)ml); | |
21 | |
22 return 0; | |
23 } | |
24 |