Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compiler warning.

  • Loading branch information
icculus committed Oct 3, 2012
1 parent bf1427e commit cac6e655b28ea210f9743038f3dd29ba6b97fd63
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/render/SDL_render.c
@@ -1472,8 +1472,8 @@ int
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);

0 comments on commit cac6e65

Please sign in to comment.