diff options
Diffstat (limited to 'src/glu/sgi/libtess/geom.c')
-rw-r--r-- | src/glu/sgi/libtess/geom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libtess/geom.c b/src/glu/sgi/libtess/geom.c index 7d3b8d8a6a5..35b36a394c4 100644 --- a/src/glu/sgi/libtess/geom.c +++ b/src/glu/sgi/libtess/geom.c @@ -198,7 +198,7 @@ printf("*********************%d\n",RandomInterpolate); #endif -#define Swap(a,b) if (1) { GLUvertex *t = a; a = b; b = t; } else +#define Swap(a,b) do { GLUvertex *t = a; a = b; b = t; } while (0) void __gl_edgeIntersect( GLUvertex *o1, GLUvertex *d1, GLUvertex *o2, GLUvertex *d2, |