From 20ca1192d2ce2fffc15c27ca3f906f8be565f387 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 24 Dec 2020 00:26:32 +0300 Subject: [PATCH] testgesture.c: comment out unused drawLine() --- test/testgesture.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/testgesture.c b/test/testgesture.c index a925e0ac2..8519e2f25 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)