Fix build errors from last change.
authorJørgen P. Tjernø <jorgen@valvesoftware.com>
Tue, 23 Jul 2013 17:40:16 -0700
changeset 7509cf7c2e3493b2
parent 7508 1f64c6874619
child 7510 dbba26bab0f8
Fix build errors from last change.
src/events/SDL_gesture.c
src/render/SDL_render.c
     1.1 --- a/src/events/SDL_gesture.c	Tue Jul 23 17:40:13 2013 -0700
     1.2 +++ b/src/events/SDL_gesture.c	Tue Jul 23 17:40:16 2013 -0700
     1.3 @@ -392,7 +392,7 @@
     1.4  static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch)
     1.5  {
     1.6  
     1.7 -    SDL_FloatPoint points[DOLLARNPOINTS] = {};
     1.8 +    SDL_FloatPoint points[DOLLARNPOINTS] = {{0}};
     1.9      int i;
    1.10      float bestDiff = 10000;
    1.11  
     2.1 --- a/src/render/SDL_render.c	Tue Jul 23 17:40:13 2013 -0700
     2.2 +++ b/src/render/SDL_render.c	Tue Jul 23 17:40:16 2013 -0700
     2.3 @@ -1467,7 +1467,7 @@
     2.4  int
     2.5  SDL_RenderFillRect(SDL_Renderer * renderer, const SDL_Rect * rect)
     2.6  {
     2.7 -    SDL_Rect full_rect = {};
     2.8 +    SDL_Rect full_rect = {0};
     2.9  
    2.10      CHECK_RENDERER_MAGIC(renderer, -1);
    2.11