diff test/testalpha.c @ 1516:4d241ea8a1cd

Updated MacOS Classic build
author Sam Lantinga <slouken@libsdl.org>
date Mon, 13 Mar 2006 05:36:42 +0000
parents 8dfa9a6d69a5
children 14717b52abc0
line wrap: on
line diff
--- 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);
 	}