Mercurial > hg > Members > kono > Cerium
view Renderer/Engine/spe/Load_Texture.cc @ 692:50750b118116
add sgchangeFB,SDL
author | hiroki@localhost.localdomain |
---|---|
date | Tue, 08 Dec 2009 16:52:04 +0900 |
parents | 58cdb81f7f96 |
children | f2497e0ecd7c |
line wrap: on
line source
// #define DEBUG #include "error.h" #include <stdlib.h> #include <string.h> #include "Load_Texture.h" #include "texture.h" #include "Func.h" #include "global_alloc.h" SchedDefineTask(LoadTexture); /** * 「Load」といいながら、結局 DrawSpan で使う * Hash の準備だけなので、名前変えないとなー */ static int run(SchedTask *smanager, void *rbuf , void *wbuf) { __debug_spe("LoadTexture\n"); MemList *ml = smanager->createMemList(sizeof(uint32) * TEXTURE_BLOCK_SIZE, MAX_TILE); smanager->global_set(GLOBAL_TILE_LIST, (void *)ml); return 0; }