projects
/
dosdemo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390d3d3
)
cleared pragma warning from bsptree.c
author
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 8 May 2022 15:07:59 +0000
(18:07 +0300)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 8 May 2022 15:07:59 +0000
(18:07 +0300)
src/bsptree.c
patch
|
blob
|
history
diff --git
a/src/bsptree.c
b/src/bsptree.c
index
f286ac7
..
7db5711
100644
(file)
--- a/
src/bsptree.c
+++ b/
src/bsptree.c
@@
-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;