view Renderer/Engine/spe/DataLoad.cc @ 882:1cb89ec2e796 draft

SceneGraphRoot::set_move_task add.
author tkaito
date Mon, 12 Jul 2010 04:02:14 +0900
parents c3b4ddd4ccdc
children
line wrap: on
line source

#include <stdio.h>
#include <string.h>
#include "DataLoad.h"
#include "Func.h"

/* これは必須 */
SchedDefineTask(DataLoad);

static int
run(SchedTask *s, void *rbuf, void *wbuf)
{

  long size = (long)s->get_param(0);
  long load_id = (long)s->get_param(1);

  s->global_alloc(load_id, size);

  return 0;
}