Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/task/DrawSpan.cc @ 838:41302b72c895
Draw Span Task -> Task Array
author | Yutaka_Kinjyo |
---|---|
date | Fri, 28 May 2010 01:47:42 +0900 |
parents | 496a8159e840 |
children | 1e3b67117ad9 |
line wrap: on
line diff
--- a/Renderer/Engine/task/DrawSpan.cc Tue May 25 19:14:44 2010 +0900 +++ b/Renderer/Engine/task/DrawSpan.cc Fri May 28 01:47:42 2010 +0900 @@ -462,6 +462,23 @@ static int run(SchedTask *smanager, void *rbuf, void *wbuf) { + + + if ((int)smanager->get_param(5) == 0) { + + int rangex_start = (long)smanager->get_param(2); + int rangex_end = (long)smanager->get_param(3); + + int rangex = rangex_end - rangex_start + 1; + int rangey = (long)smanager->get_param(4); + + linebuf_init(smanager, rangex, rangey, 0); + + return 0; + + } + + G g0; Gptr g = &g0;