comparison Renderer/Engine/viewer.cc @ 843:0c7d885f0c92

cleanup unused variables and fix warning.
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Wed, 02 Jun 2010 02:03:40 +0900
parents ec1a408fea94
children 6aa20c0dd8f8
comparison
equal deleted inserted replaced
842:ec1a408fea94 843:0c7d885f0c92
142 142
143 size = 16; // LightSysSwitch は 4byte. 残り 12byte は DMA転送の為のパディング 143 size = 16; // LightSysSwitch は 4byte. 残り 12byte は DMA転送の為のパディング
144 144
145 light_sysswitch = (int*)manager->allocate(size); 145 light_sysswitch = (int*)manager->allocate(size);
146 146
147 for (int i = 0; i < size / sizeof(int); i++) { 147 for (unsigned int i = 0; i < size / sizeof(int); i++) {
148 light_sysswitch[i] = 0; 148 light_sysswitch[i] = 0;
149 } 149 }
150 150
151 for(int i = 0; i < spe_num; i++) { 151 for(int i = 0; i < spe_num; i++) {
152 HTaskPtr data_load = manager->create_task(DataLoad); 152 HTaskPtr data_load = manager->create_task(DataLoad);