src/render/SDL_render.c
changeset 6545 01216d38e4d9
parent 6533 c784245304dd
child 6546 824535ce51b6
equal deleted inserted replaced
6544:c03db4864789 6545:01216d38e4d9
  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