src/video/SDL_RLEaccel.c
branchSDL-1.2
changeset 6227 e11fd9609d10
parent 6137 4720145f848b
     1.1 --- a/src/video/SDL_RLEaccel.c	Wed Jan 18 03:36:47 2012 -0500
     1.2 +++ b/src/video/SDL_RLEaccel.c	Wed Jan 18 12:17:16 2012 -0500
     1.3 @@ -1645,9 +1645,8 @@
     1.4          Uint8 *rlebuf, *dst;
     1.5  	int maxn;
     1.6  	int y;
     1.7 -	Uint8 *srcbuf, *curbuf, *lastline;
     1.8 +	Uint8 *srcbuf, *lastline;
     1.9  	int maxsize = 0;
    1.10 -	int skip, run;
    1.11  	int bpp = surface->format->BytesPerPixel;
    1.12  	getpix_func getpix;
    1.13  	Uint32 ckey, rgbmask;
    1.14 @@ -1681,9 +1680,7 @@
    1.15  
    1.16  	/* Set up the conversion */
    1.17  	srcbuf = (Uint8 *)surface->pixels;
    1.18 -	curbuf = srcbuf;
    1.19  	maxn = bpp == 4 ? 65535 : 255;
    1.20 -	skip = run = 0;
    1.21  	dst = rlebuf;
    1.22  	rgbmask = ~surface->format->Amask;
    1.23  	ckey = surface->format->colorkey & rgbmask;