mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 11:45:13 -05:00
Fix build errors from last change.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
SDL_FloatPoint points[DOLLARNPOINTS] = {};
|
||||
SDL_FloatPoint points[DOLLARNPOINTS] = {{0}};
|
||||
int i;
|
||||
float bestDiff = 10000;
|
||||
|
||||
|
||||
@@ -1467,7 +1467,7 @@ SDL_RenderDrawRects(SDL_Renderer * renderer,
|
||||
int
|
||||
SDL_RenderFillRect(SDL_Renderer * renderer, const SDL_Rect * rect)
|
||||
{
|
||||
SDL_Rect full_rect = {};
|
||||
SDL_Rect full_rect = {0};
|
||||
|
||||
CHECK_RENDERER_MAGIC(renderer, -1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user