Mercurial > hg > Game > Cerium
annotate Renderer/Engine/spe/UpdateKey.cc @ 839:1001c4bea1a0 draft
if unnecessary
author | Yutaka_Kinjyo |
---|---|
date | Fri, 28 May 2010 03:24:52 +0900 |
parents | eb6add789a24 |
children |
rev | line source |
---|---|
539 | 1 #include "TaskManager.h" |
2 #include "KeyStat.h" | |
3 #include "UpdateKey.h" | |
801 | 4 #include "Func.h" |
539 | 5 |
6 SchedDefineTask(UpdateKey); | |
7 | |
8 static int | |
9 run(SchedTask *smanager, void *rbuf, void *wbuf) | |
10 { | |
11 key_stat *key = (key_stat*)smanager->get_input(rbuf, 0); | |
12 key_stat *gdata = (key_stat*)smanager->global_get(KEY_STATUS); | |
13 memcpy(gdata, key, sizeof(key_stat)); | |
14 | |
15 return 0; | |
16 } |