Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/spe/spe-main.cpp @ 203:1eba8570808c draft
fix CreateSpan::run
author | gongo@localhost.localdomain |
---|---|
date | Mon, 26 Jan 2009 18:30:35 +0900 |
parents | a19d3ed4ce5b |
children | fbd7337bf220 |
line wrap: on
line source
#include "../Func.h" #include "SchedTask.h" SchedExternTask(LoadTexture); SchedExternTask(SetTexture); SchedExternTask(DrawSpan); SchedExternTask(DrawSpanRenew); SchedExternTask(DrawBack); SchedExternTask(CreateSpan); //SchedExternTask(CreatePolygon); void task_init(void) { SchedRegisterTask(TASK_INIT_TEXTURE, LoadTexture); SchedRegisterTask(TASK_SET_TEXTURE, SetTexture); SchedRegisterTask(TASK_DRAW_SPAN, DrawSpan); SchedRegisterTask(TASK_DRAW_SPAN2, DrawSpanRenew); SchedRegisterTask(TASK_DRAW_BACK, DrawBack); SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan); //SchedRegisterTask(TASK_CREATE_PP, CreatePolygon); }