Mercurial > hg > Game > Cerium
view Renderer/Engine/task/Load_Texture.cc @ 591:65e52fd2c2e2 draft
send linda not work...
author | kazz@kazzone.st.ie.u-ryukyu.ac.jp |
---|---|
date | Sun, 01 Nov 2009 06:14:52 +0900 |
parents | c34956de8276 |
children | eb6add789a24 |
line wrap: on
line source
#include <stdlib.h> #include <string.h> #include "Load_Texture.h" #include "texture.h" #include "Func.h" #include "global_alloc.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; }