cleared pragma warning from bsptree.c
[dosdemo] / src / bsptree.c
index 7783e25..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;
 
@@ -263,7 +265,7 @@ static int choose_poly(struct bsppoly *polyarr, int num_polys)
                }
        }
 
-       //printf("choose_poly(..., %d) -> %d splits\n", num_polys, best_splits);
+       /*printf("choose_poly(..., %d) -> %d splits\n", num_polys, best_splits);*/
 
        return best;
 }