Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Merged Ryan's changes
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 4, 2012
2 parents 42cb6b2 + a7f31f9 commit 95a8b73
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/render/SDL_render.c
Expand Up @@ -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);
Expand Down Expand Up @@ -1539,7 +1539,8 @@ SDL_RenderCopyEx(SDL_Renderer * renderer, SDL_Texture * texture,
const SDL_Rect * srcrect, const SDL_Rect * dstrect,
const double angle, const SDL_Point *center, const SDL_RendererFlip flip)
{
SDL_Rect real_srcrect, real_dstrect;
SDL_Rect real_srcrect = { 0, 0, 0, 0 };
SDL_Rect real_dstrect = { 0, 0, 0, 0 };
SDL_Point real_center;
SDL_FRect frect;
SDL_FPoint fcenter;
Expand Down

0 comments on commit 95a8b73

Please sign in to comment.