early-access version 1667
This commit is contained in:
4
externals/SDL/test/testgesture.c
vendored
4
externals/SDL/test/testgesture.c
vendored
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
|
||||
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
@@ -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)
|
||||
|
Reference in New Issue
Block a user