Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/viewer.cc @ 900:ac76784d70cb
minor fix.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Jul 2010 23:44:46 +0900 |
parents | 586b4f825f24 |
children | 62838c1cd4b0 |
comparison
equal
deleted
inserted
replaced
899:586b4f825f24 | 900:ac76784d70cb |
---|---|
173 sgpack->init(); | 173 sgpack->init(); |
174 ppack = (PolygonPack*)manager->allocate(sizeof(PolygonPack)); | 174 ppack = (PolygonPack*)manager->allocate(sizeof(PolygonPack)); |
175 | 175 |
176 spackList_length = (this->height + split_screen_h - 1) / split_screen_h; | 176 spackList_length = (this->height + split_screen_h - 1) / split_screen_h; |
177 spackList = (SpanPack*)manager->allocate(sizeof(SpanPack)*spackList_length); | 177 spackList = (SpanPack*)manager->allocate(sizeof(SpanPack)*spackList_length); |
178 printf("spackList %0x\n",(unsigned int)spackList); | 178 printf("spackList %0x height %d\n",(unsigned int)spackList, this->height); |
179 | 179 |
180 /** | 180 /** |
181 * SPU に送る address list は 16 バイト倍数でないといけない。 | 181 * SPU に送る address list は 16 バイト倍数でないといけない。 |
182 * spackList_length*sizeof(SpanPack*) が 16 バイト倍数になるような | 182 * spackList_length*sizeof(SpanPack*) が 16 バイト倍数になるような |
183 * length_align を求めている。はみ出した部分は使われない | 183 * length_align を求めている。はみ出した部分は使われない |