Fix clang-mp build error (don't declare const variables as being firstprivate)

This commit is contained in:
Bernhard Stegmaier 2018-03-03 19:58:44 +01:00 committed by Wayne Stambaugh
parent 2af51ef20f
commit a786078747
1 changed files with 1 additions and 1 deletions

View File

@ -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++ )
{