mirror of https://github.com/encounter/SDL.git
testgesture.c: comment out unused drawLine()
This commit is contained in:
parent
b064028c2d
commit
20ca1192d2
|
@ -90,6 +90,7 @@ setpix(SDL_Surface *screen, float _x, float _y, unsigned int col)
|
||||||
*pixmem32 = colour;
|
*pixmem32 = colour;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* unused */
|
||||||
static void
|
static void
|
||||||
drawLine(SDL_Surface *screen, float x0, float y0, float x1, float y1, unsigned int col)
|
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);
|
setpix(screen, x1 + t * (x0 - x1), y1 + t * (y0 - y1), col);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
drawCircle(SDL_Surface *screen, float x, float y, float r, unsigned int c)
|
drawCircle(SDL_Surface *screen, float x, float y, float r, unsigned int c)
|
||||||
|
|
Loading…
Reference in New Issue