Fixed compiler warning.
This commit is contained in:
parent
616ca3c4af
commit
8dedb98eef
1 changed files with 2 additions and 2 deletions
|
@ -1472,8 +1472,8 @@ int
|
||||||
SDL_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture,
|
SDL_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture,
|
||||||
const SDL_Rect * srcrect, const SDL_Rect * dstrect)
|
const SDL_Rect * srcrect, const SDL_Rect * dstrect)
|
||||||
{
|
{
|
||||||
SDL_Rect real_srcrect;
|
SDL_Rect real_srcrect = { 0, 0, 0, 0 };
|
||||||
SDL_Rect real_dstrect;
|
SDL_Rect real_dstrect = { 0, 0, 0, 0 };
|
||||||
SDL_FRect frect;
|
SDL_FRect frect;
|
||||||
|
|
||||||
CHECK_RENDERER_MAGIC(renderer, -1);
|
CHECK_RENDERER_MAGIC(renderer, -1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue