Fixed compiler warning.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 03 Oct 2012 19:20:53 -0400
changeset 654501216d38e4d9
parent 6544 c03db4864789
child 6546 824535ce51b6
Fixed compiler warning.
src/render/SDL_render.c
     1.1 --- a/src/render/SDL_render.c	Wed Oct 03 13:39:42 2012 -0700
     1.2 +++ b/src/render/SDL_render.c	Wed Oct 03 19:20:53 2012 -0400
     1.3 @@ -1472,8 +1472,8 @@
     1.4  SDL_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture,
     1.5                 const SDL_Rect * srcrect, const SDL_Rect * dstrect)
     1.6  {
     1.7 -    SDL_Rect real_srcrect;
     1.8 -    SDL_Rect real_dstrect;
     1.9 +    SDL_Rect real_srcrect = { 0, 0, 0, 0 };
    1.10 +    SDL_Rect real_dstrect = { 0, 0, 0, 0 };
    1.11      SDL_FRect frect;
    1.12  
    1.13      CHECK_RENDERER_MAGIC(renderer, -1);