test/testalpha.c
changeset 1516 4d241ea8a1cd
parent 1465 8dfa9a6d69a5
child 1659 14717b52abc0
     1.1 --- a/test/testalpha.c	Mon Mar 13 04:35:59 2006 +0000
     1.2 +++ b/test/testalpha.c	Mon Mar 13 05:36:42 2006 +0000
     1.3 @@ -60,7 +60,7 @@
     1.4  }
     1.5  
     1.6  /* Create a "light" -- a yellowish surface with variable alpha */
     1.7 -SDL_Surface *CreateLight(SDL_Surface *screen, int radius)
     1.8 +SDL_Surface *CreateLight(int radius)
     1.9  {
    1.10  	Uint8  trans, alphamask;
    1.11  	int    range, addition;
    1.12 @@ -401,7 +401,7 @@
    1.13  	FillBackground(screen);
    1.14  
    1.15  	/* Create the light */
    1.16 -	light = CreateLight(screen, 82);
    1.17 +	light = CreateLight(82);
    1.18  	if ( light == NULL ) {
    1.19  		quit(1);
    1.20  	}