Fix build errors from last change.
This commit is contained in:
parent
e007150b45
commit
8c0d5be080
2 changed files with 2 additions and 2 deletions
|
@ -392,7 +392,7 @@ static int dollarNormalize(const SDL_DollarPath *path,SDL_FloatPoint *points)
|
||||||
static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch)
|
static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch)
|
||||||
{
|
{
|
||||||
|
|
||||||
SDL_FloatPoint points[DOLLARNPOINTS] = {};
|
SDL_FloatPoint points[DOLLARNPOINTS] = {{0}};
|
||||||
int i;
|
int i;
|
||||||
float bestDiff = 10000;
|
float bestDiff = 10000;
|
||||||
|
|
||||||
|
|
|
@ -1467,7 +1467,7 @@ SDL_RenderDrawRects(SDL_Renderer * renderer,
|
||||||
int
|
int
|
||||||
SDL_RenderFillRect(SDL_Renderer * renderer, const SDL_Rect * rect)
|
SDL_RenderFillRect(SDL_Renderer * renderer, const SDL_Rect * rect)
|
||||||
{
|
{
|
||||||
SDL_Rect full_rect = {};
|
SDL_Rect full_rect = {0};
|
||||||
|
|
||||||
CHECK_RENDERER_MAGIC(renderer, -1);
|
CHECK_RENDERER_MAGIC(renderer, -1);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue