From 05ae0d42a944f6c7d940a5e58eb90b619dadbfdb Mon Sep 17 00:00:00 2001 From: rodri Date: Mon, 5 Aug 2024 10:41:11 +0000 Subject: fix a double-free. add a generic value-swapping macro. --- vertex.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'vertex.c') diff --git a/vertex.c b/vertex.c index 92c6b0a..970bbbc 100644 --- a/vertex.c +++ b/vertex.c @@ -43,16 +43,6 @@ dupvertex(Vertex *v) return nv; } -void -swapvertex(Vertex *a, Vertex *b) -{ - Vertex t; - - t = *a; - *a = *b; - *b = t; -} - /* * linear attribute interpolation */ -- cgit v1.2.3