diff TaskManager/Test/test_render/task/UpdateKey.cc @ 450:01dc4e5be965

KeyStat fixed...
author kazz@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 25 Sep 2009 22:04:17 +0900
parents 475a01e217cd
children 44c0bce54dcf
line wrap: on
line diff
--- a/TaskManager/Test/test_render/task/UpdateKey.cc	Fri Sep 25 18:06:01 2009 +0900
+++ b/TaskManager/Test/test_render/task/UpdateKey.cc	Fri Sep 25 22:04:17 2009 +0900
@@ -8,7 +8,7 @@
 int 
 UpdateKey::run(SchedTask *smanager, void *rbuf, void *wbuf)
 {
-    key_stat *key = (key_stat*)smanager->get_input(0);
+    key_stat *key = (key_stat*)smanager->get_input(rbuf, 0);
     key_stat *gdata = (key_stat*)smanager->global_get(KEY_STATUS); 
     memcpy(gdata, key, sizeof(key_stat));