view Renderer/Engine/task/Load_Texture.cc @ 1023:5245cf19775d

comment remove
author yutaka@localhost.localdomain
date Sun, 07 Nov 2010 22:18:41 +0900
parents 649e4cb84683
children
line wrap: on
line source

#include <stdlib.h>
#include <string.h>
#include "Load_Texture.h"
#include "task_texture.h"
#include "Func.h"
#include "Tapestry.h"

SchedDefineTask(LoadTexture);

/**
 * 「Load」といいながら、結局 DrawSpan で使う
 * Hash の準備だけなので、名前変えないとなー
 */
static int
run(SchedTask *smanager, void *rbuf , void *wbuf)
{
    MemList *ml = smanager->createMemList(sizeof(uint32) * TEXTURE_BLOCK_SIZE, MAX_TILE);
    smanager->global_set(GLOBAL_TILE_LIST, (void *)ml);

    return 0;
}