Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Test/test_render/task/DrawSpan.cpp @ 170:d1f2ce3bdb2f
fix ViewerSDL
author | gongo@localhost.localdomain |
---|---|
date | Thu, 11 Dec 2008 11:18:44 +0900 |
parents | cf2aa37d2fe7 |
children | 56be4a6e5513 |
comparison
equal
deleted
inserted
replaced
169:cd1c289f952d | 170:d1f2ce3bdb2f |
---|---|
159 float *zRow = zRow_init(rangex, rangey); | 159 float *zRow = zRow_init(rangex, rangey); |
160 int **linebuf = (int**)smanager->allocate(sizeof(int*)*rangey); | 160 int **linebuf = (int**)smanager->allocate(sizeof(int*)*rangey); |
161 | 161 |
162 for (int i = 0; i < rangey; i++) { | 162 for (int i = 0; i < rangey; i++) { |
163 linebuf[i] = (int*)smanager->get_output(i); | 163 linebuf[i] = (int*)smanager->get_output(i); |
164 linebuf_init(linebuf[i], rangex, 0xffffff); | 164 linebuf_init(linebuf[i], rangex, 0xffffffff); |
165 } | 165 } |
166 | 166 |
167 do { | 167 do { |
168 /** | 168 /** |
169 * SpanPack->next が存在する場合、 | 169 * SpanPack->next が存在する場合、 |