Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/spe/DrawSpan.cc @ 626:ab866bc8a624
64bit mode compatibility on Cell
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 16 Nov 2009 11:37:26 +0900 |
parents | f35a9bee38a6 |
children | 1622da029306 |
line wrap: on
line diff
--- a/Renderer/Engine/spe/DrawSpan.cc Mon Nov 16 10:59:55 2009 +0900 +++ b/Renderer/Engine/spe/DrawSpan.cc Mon Nov 16 11:37:26 2009 +0900 @@ -423,16 +423,16 @@ Span nop_span; nop_span.length_x = 1; - // uint32 display = smanager->get_param(0); - // int screen_width = smanager->get_param(1); - int rangex_start = smanager->get_param(2); - int rangex_end = smanager->get_param(3); + // uint32 display = (long)smanager->get_param(0); + // int screen_width = (long)smanager->get_param(1); + int rangex_start = (long)smanager->get_param(2); + int rangex_end = (long)smanager->get_param(3); // このタスクが担当する x の範囲 int rangex = rangex_end - rangex_start + 1; // y の範囲 - int rangey = smanager->get_param(4); + int rangey = (long)smanager->get_param(4); g->tileList = (TileListPtr)smanager->global_get(GLOBAL_TILE_LIST); g->zRow = zRow_init(smanager, rangex, rangey);