Fixed possible issue with #pragma directive
This commit is contained in:
@@ -175,12 +175,9 @@ void ImProcFunctions::vibrance (LabImage* lab) {
|
|||||||
MunsellDebugInfo* MunsDebugInfo = NULL;
|
MunsellDebugInfo* MunsDebugInfo = NULL;
|
||||||
if (avoidcolorshift)
|
if (avoidcolorshift)
|
||||||
MunsDebugInfo = new MunsellDebugInfo();
|
MunsDebugInfo = new MunsellDebugInfo();
|
||||||
|
#pragma omp parallel default(shared) firstprivate(lab, width, height, chromaPastel, chromaSatur, highlight, limitpastelsatur, transitionweighting, protectskins, avoidcolorshift, MunsDebugInfo) reduction(+: negat, moreRGB, negsat, moresat) if (multiThread)
|
||||||
#pragma omp parallel default(shared) firstprivate(lab, width, height, chromaPastel, chromaSatur, highlight, limitpastelsatur, \
|
|
||||||
transitionweighting, protectskins, avoidcolorshift, MunsDebugInfo) reduction(+: negat, moreRGB, negsat, moresat) if (multiThread)
|
|
||||||
#else
|
#else
|
||||||
#pragma omp parallel default(shared) if (multiThread)// firstprivate(lab, width, height, chromaPastel, chromaSatur, highlight, limitpastelsatur, \
|
#pragma omp parallel default(shared) if (multiThread)
|
||||||
transitionweighting, protectskins, avoidcolorshift) if (multiThread)
|
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user