view TaskManager/Test/test_render/spe/spe-main.cpp @ 133:435e0d24db39

DrawSpan のテクスチャ座標を求める部分で、width と height が逆に使われてた。 add new xml file
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Thu, 27 Nov 2008 15:08:10 +0900
parents 5c194c71eca8
children 3fd24be89d02
line wrap: on
line source

#include "../Func.h"
#include "SchedTask.h"

SchedExternTask(LoadTexture);
SchedExternTask(SetTexture);
SchedExternTask(DrawSpan);
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_BACK, DrawBack);

    SchedRegisterTask(TASK_CREATE_SPAN, CreateSpan);
    SchedRegisterTask(TASK_CREATE_PP, CreatePolygon);
}