view Renderer/Engine/spe/DataLoad.cc @ 792:b480fc04206f draft

add light switch
author yutaka@localhost.localdomain
date Sun, 02 May 2010 04:17:34 +0900
parents 4d83a6a958fd
children c3b4ddd4ccdc
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)
{

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

  s->global_alloc(load_id, size);

  return 0;
}