Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/viewer.cc @ 989:0b8f9d4d7dab akira
ppack initialization fix
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 01 Oct 2010 04:40:14 +0900 |
parents | 0b6f8c82625a |
children | 33616b2789de c79651141045 |
line wrap: on
line diff
--- a/Renderer/Engine/viewer.cc Sat Oct 02 03:48:39 2010 +0900 +++ b/Renderer/Engine/viewer.cc Fri Oct 01 04:40:14 2010 +0900 @@ -156,6 +156,7 @@ for(int i=0;i<2;i++) { r[i].ppack = (PolygonPack*)manager->allocate(sizeof(PolygonPack)); + r[i].ppack->next = 0; r[i].spackList_length = (this->height + split_screen_h - 1) / split_screen_h; r[i].spackList = (SpanPack*)manager->allocate(sizeof(SpanPack)*r[i].spackList_length);