Helps to initialize variables in the right function. :)

This commit is contained in:
Ryan C. Gordon 2012-10-03 20:02:13 -04:00
parent 8dedb98eef
commit ec7e2d0865

View file

@ -1539,7 +1539,8 @@ SDL_RenderCopyEx(SDL_Renderer * renderer, SDL_Texture * texture,
const SDL_Rect * srcrect, const SDL_Rect * dstrect, const SDL_Rect * srcrect, const SDL_Rect * dstrect,
const double angle, const SDL_Point *center, const SDL_RendererFlip flip) 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_Point real_center;
SDL_FRect frect; SDL_FRect frect;
SDL_FPoint fcenter; SDL_FPoint fcenter;