src/video/SDL_video.c
changeset 2787 93764fe8601a
parent 2786 6bacfecbf27e
child 2789 985001797115
--- a/src/video/SDL_video.c	Tue Nov 25 02:21:53 2008 +0000
+++ b/src/video/SDL_video.c	Tue Nov 25 05:29:14 2008 +0000
@@ -46,9 +46,6 @@
 #endif
 #endif /* SDL_VIDEO_OPENGL */
 
-/* From SDL_surface.c */
-extern void SDL_ConvertColorkeyToAlpha(SDL_Surface * surface);
-
 /* Available video drivers */
 static VideoBootStrap *bootstrap[] = {
 #if SDL_VIDEO_DRIVER_COCOA
@@ -1588,7 +1585,6 @@
             }
             dst = SDL_ConvertSurface(surface, dst_fmt, 0);
             if (dst) {
-                SDL_ConvertColorkeyToAlpha(dst);
                 SDL_UpdateTexture(textureID, NULL, dst->pixels, dst->pitch);
                 SDL_FreeSurface(dst);
             }