comparison TaskManager/Test/test_render/spe/DrawSpan.cpp @ 180:e3b7776b1420 draft

いろいろ fix 。詳しくは TaskManager/Changelog、test_render/Changelog を
author gongo@localhost.localdomain
date Mon, 22 Dec 2008 16:09:57 +0900
parents deb02b0e6291
children 8e9ada0c1ed0
comparison
equal deleted inserted replaced
179:6e62f8cfbfe3 180:e3b7776b1420
157 sizeof(SpanPack), SPAN_PACK_LOAD); 157 sizeof(SpanPack), SPAN_PACK_LOAD);
158 } else { 158 } else {
159 next_sp = NULL; 159 next_sp = NULL;
160 } 160 }
161 161
162 for (int t = 0; t < sp->info.size; t++) { 162 for (int t = sp->info.start; t < sp->info.size; t++) {
163 span = &sp->span[t]; 163 span = &sp->span[t];
164 164
165 Uint32 rgb = 0x00ff00; 165 Uint32 rgb = 0x00ff00;
166 float tex1 = span->tex_x1; 166 float tex1 = span->tex_x1;
167 float tex2 = span->tex_x2; 167 float tex2 = span->tex_x2;