view TaskManager/Test/test_render/spe/spe-main.cpp @ 243:c4918a1fb6c9 draft

rm warning
author e065746@localhost.localdomain
date Sun, 31 May 2009 16:26:20 +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);
}