src/render/software/SDL_rotate.c
changeset 8696 6bb798ddf205
parent 8093 b43765095a6f
child 9762 5c4a85c5b648
     1.1 --- a/src/render/software/SDL_rotate.c	Sat Apr 05 23:32:41 2014 +0200
     1.2 +++ b/src/render/software/SDL_rotate.c	Sat Apr 05 23:50:09 2014 +0200
     1.3 @@ -189,7 +189,7 @@
     1.4                  if (flipx) dx = sw - dx;
     1.5                  if (flipy) dy = sh - dy;
     1.6                  if ((dx > -1) && (dy > -1) && (dx < (src->w-1)) && (dy < (src->h-1))) {
     1.7 -                    sp = (tColorRGBA *)src->pixels;;
     1.8 +                    sp = (tColorRGBA *)src->pixels;
     1.9                      sp += ((src->pitch/4) * dy);
    1.10                      sp += dx;
    1.11                      c00 = *sp;