test/testalpha.c
changeset 1516 4d241ea8a1cd
parent 1465 8dfa9a6d69a5
child 1659 14717b52abc0
--- a/test/testalpha.c	Mon Mar 13 04:35:59 2006 +0000
+++ b/test/testalpha.c	Mon Mar 13 05:36:42 2006 +0000
@@ -60,7 +60,7 @@
 }
 
 /* Create a "light" -- a yellowish surface with variable alpha */
-SDL_Surface *CreateLight(SDL_Surface *screen, int radius)
+SDL_Surface *CreateLight(int radius)
 {
 	Uint8  trans, alphamask;
 	int    range, addition;
@@ -401,7 +401,7 @@
 	FillBackground(screen);
 
 	/* Create the light */
-	light = CreateLight(screen, 82);
+	light = CreateLight(82);
 	if ( light == NULL ) {
 		quit(1);
 	}