view Renderer/Engine/spe/DataLoad.cc @ 792:f2497e0ecd7c

add light switch
author yutaka@localhost.localdomain
date Sun, 02 May 2010 04:17:34 +0900
parents 4455e7b0caf3
children 01b6d924a560
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;
}