src/render/software/SDL_rotate.c
changeset 6389 43a190ad60a7
parent 6323 d3fa10b2d16e
child 7191 75360622e65f
     1.1 --- a/src/render/software/SDL_rotate.c	Wed Aug 08 13:44:58 2012 -0400
     1.2 +++ b/src/render/software/SDL_rotate.c	Thu Aug 09 14:14:41 2012 -0400
     1.3 @@ -272,7 +272,7 @@
     1.4  */
     1.5  void transformSurfaceY(SDL_Surface * src, SDL_Surface * dst, int cx, int cy, int isin, int icos, int flipx, int flipy)
     1.6  {
     1.7 -    int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay, sw, sh;
     1.8 +    int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay;
     1.9      tColorY *pc, *sp;
    1.10      int gap;
    1.11  
    1.12 @@ -283,8 +283,6 @@
    1.13      yd = ((src->h - dst->h) << 15);
    1.14      ax = (cx << 16) - (icos * cx);
    1.15      ay = (cy << 16) - (isin * cx);
    1.16 -    sw = src->w - 1;
    1.17 -    sh = src->h - 1;
    1.18      pc = (tColorY*) dst->pixels;
    1.19      gap = dst->pitch - dst->w;
    1.20      /*