view Renderer/Engine/spe/UpdateKey.cc @ 1319:31455d34e502 draft

collada file reader minor changes.
author Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp>
date Sun, 18 Dec 2011 09:39:14 +0900
parents eb6add789a24
children
line wrap: on
line source

#include "TaskManager.h"
#include "KeyStat.h"
#include "UpdateKey.h"
#include "Func.h"

SchedDefineTask(UpdateKey);

static int 
run(SchedTask *smanager, void *rbuf, void *wbuf)
{
    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));

    return 0;
}