test/testspriteminimal.c
changeset 5158 b3ccd1947786
parent 5147 ad50b3db78bd
child 5517 aa339c0dca2d
--- a/test/testspriteminimal.c	Thu Feb 03 00:22:18 2011 -0800
+++ b/test/testspriteminimal.c	Thu Feb 03 00:54:29 2011 -0800
@@ -60,11 +60,7 @@
     }
 
     /* Create textures from the image */
-    sprite = SDL_CreateTextureFromSurface(renderer, 0, temp);
-    if (!sprite) {
-        SDL_SetColorKey(temp, 0, 0);
-        sprite = SDL_CreateTextureFromSurface(renderer, 0, temp);
-    }
+    sprite = SDL_CreateTextureFromSurface(renderer, temp);
     if (!sprite) {
         fprintf(stderr, "Couldn't create texture: %s\n", SDL_GetError());
         SDL_FreeSurface(temp);