|
|
|
|
|
|
int nrLightsIn = nrBigTileLights; |
|
|
|
for(int l0=(int) t; l0<(int) nrBigTileLights; l0 += NR_THREADS) |
|
|
|
{ |
|
|
|
int l = g_vBigTileLightList[MAX_NR_BIGTILE_LIGHTS_PLUSONE*bigTileIdx+l0+1]; |
|
|
|
int l = min(g_vBigTileLightList[MAX_NR_BIGTILE_LIGHTS_PLUSONE*bigTileIdx+l0+1], g_iNrVisibLights); |
|
|
|
#else |
|
|
|
int nrLightsIn = (int) g_iNrVisibLights; |
|
|
|
for(int l=(int) t; l<(int) g_iNrVisibLights; l += NR_THREADS) |
|
|
|