src/render/SDL_render.c
changeset 6545 01216d38e4d9
parent 6533 c784245304dd
child 6546 824535ce51b6
--- a/src/render/SDL_render.c	Wed Oct 03 13:39:42 2012 -0700
+++ b/src/render/SDL_render.c	Wed Oct 03 19:20:53 2012 -0400
@@ -1472,8 +1472,8 @@
 SDL_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture,
                const SDL_Rect * srcrect, const SDL_Rect * dstrect)
 {
-    SDL_Rect real_srcrect;
-    SDL_Rect real_dstrect;
+    SDL_Rect real_srcrect = { 0, 0, 0, 0 };
+    SDL_Rect real_dstrect = { 0, 0, 0, 0 };
     SDL_FRect frect;
 
     CHECK_RENDERER_MAGIC(renderer, -1);