pragma omp in render.cpp