equal
deleted
inserted
replaced
1470 |
1470 |
1471 int |
1471 int |
1472 SDL_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture, |
1472 SDL_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture, |
1473 const SDL_Rect * srcrect, const SDL_Rect * dstrect) |
1473 const SDL_Rect * srcrect, const SDL_Rect * dstrect) |
1474 { |
1474 { |
1475 SDL_Rect real_srcrect; |
1475 SDL_Rect real_srcrect = { 0, 0, 0, 0 }; |
1476 SDL_Rect real_dstrect; |
1476 SDL_Rect real_dstrect = { 0, 0, 0, 0 }; |
1477 SDL_FRect frect; |
1477 SDL_FRect frect; |
1478 |
1478 |
1479 CHECK_RENDERER_MAGIC(renderer, -1); |
1479 CHECK_RENDERER_MAGIC(renderer, -1); |
1480 CHECK_TEXTURE_MAGIC(texture, -1); |
1480 CHECK_TEXTURE_MAGIC(texture, -1); |
1481 |
1481 |