cleared pragma warning from bsptree.c
authorJohn Tsiombikas <nuclear@member.fsf.org>
Sun, 8 May 2022 15:07:59 +0000 (18:07 +0300)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Sun, 8 May 2022 15:07:59 +0000 (18:07 +0300)
src/bsptree.c

index f286ac7..7db5711 100644 (file)
@@ -248,7 +248,9 @@ static int choose_poly(struct bsppoly *polyarr, int num_polys)
                struct cplane *plane = &polyarr[i].plane;
                int num_splits = 0;
 
+#ifdef USE_OPENMP
 #pragma omp parallel for reduction(+:num_splits)
+#endif
                for(j=0; j<num_polys; j++) {
                        if(i == j) continue;