Commit 20ca1192d2ce2fffc15c27ca3f906f8be565f387

Ozkan Sezer 2020-12-24T00:26:32

testgesture.c: comment out unused drawLine()

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/test/testgesture.c b/test/testgesture.c
index a925e0a..8519e2f 100644
--- a/test/testgesture.c
+++ b/test/testgesture.c
@@ -90,6 +90,7 @@ setpix(SDL_Surface *screen, float _x, float _y, unsigned int col)
     *pixmem32 = colour;
 }
 
+#if 0 /* unused */
 static void
 drawLine(SDL_Surface *screen, float x0, float y0, float x1, float y1, unsigned int col)
 {
@@ -98,6 +99,7 @@ drawLine(SDL_Surface *screen, float x0, float y0, float x1, float y1, unsigned i
         setpix(screen, x1 + t * (x0 - x1), y1 + t * (y0 - y1), col);
     }
 }
+#endif
 
 static void
 drawCircle(SDL_Surface *screen, float x, float y, float r, unsigned int c)