view Renderer/Engine/spe/DataLoad.cc @ 839:1001c4bea1a0 draft

if unnecessary
author Yutaka_Kinjyo
date Fri, 28 May 2010 03:24:52 +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;
}