Mercurial > hg > Game > Cerium
diff Renderer/Engine/viewer.cc @ 603:57ec231bc8ac draft
long -> memaddr (64 or 32)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 07 Nov 2009 14:13:29 +0900 |
parents | 92b0d490e839 |
children | 184d6d3f0cd9 |
line wrap: on
line diff
--- a/Renderer/Engine/viewer.cc Fri Nov 06 21:20:26 2009 +0900 +++ b/Renderer/Engine/viewer.cc Sat Nov 07 14:13:29 2009 +0900 @@ -452,8 +452,8 @@ // SceneGraph(木構造) -> PolygonPack - task_create_pp->add_param((long)sgroot->getDrawSceneGraph()); - task_create_pp->add_param((long)ppack); + task_create_pp->add_param((memaddr)sgroot->getDrawSceneGraph()); + task_create_pp->add_param((memaddr)ppack); task_next->wait_for(task_create_pp); @@ -522,7 +522,7 @@ task_draw->add_inData(spack, sizeof(SpanPack)); task_draw->add_param( - (long)&pixels[(startx-1) + this->width*(starty-1)]); + (memaddr)&pixels[(startx-1) + this->width*(starty-1)]); task_draw->add_param(this->width); } else { // 7.7.3 SL1 Data Cache Range Set to Zero コマンド