Fix clang-mp build error (don't declare const variables as being firstprivate)
This commit is contained in:
parent
2af51ef20f
commit
a786078747
|
@ -372,7 +372,7 @@ void C3D_RENDER_RAYTRACING::rt_render_tracing( GLubyte *ptrPBO ,
|
|||
int numBlocksRendered = 0;
|
||||
|
||||
#pragma omp parallel for schedule(dynamic) shared(breakLoop) \
|
||||
firstprivate(ptrPBO, nrBlocks, startTime) reduction(+:numBlocksRendered) default(none)
|
||||
firstprivate(ptrPBO) reduction(+:numBlocksRendered) default(none)
|
||||
for( long iBlock = 0; iBlock < nrBlocks; iBlock++ )
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue