test/testsprite.c
changeset 1516 4d241ea8a1cd
parent 1214 31103dbf1c26
child 1662 782fd950bd46
child 1895 c121d94672cb
--- a/test/testsprite.c	Mon Mar 13 04:35:59 2006 +0000
+++ b/test/testsprite.c	Mon Mar 13 05:36:42 2006 +0000
@@ -28,7 +28,7 @@
 	exit(rc);
 }
 
-int LoadSprite(SDL_Surface *screen, char *file)
+int LoadSprite(char *file)
 {
 	SDL_Surface *temp;
 
@@ -221,7 +221,7 @@
 	}
 
 	/* Load the sprite */
-	if ( LoadSprite(screen, "icon.bmp") < 0 ) {
+	if ( LoadSprite("icon.bmp") < 0 ) {
 		quit(1);
 	}