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

Helps to initialize variables in the right function. :)

  • Loading branch information
icculus committed Oct 4, 2012
1 parent cac6e65 commit a7f31f9897716cfb68d745b0c53d4431d0f54502
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/render/SDL_render.c
@@ -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;

0 comments on commit a7f31f9

Please sign in to comment.