src/video/SDL_video.c
changeset 2787 93764fe8601a
parent 2786 6bacfecbf27e
child 2789 985001797115
     1.1 --- a/src/video/SDL_video.c	Tue Nov 25 02:21:53 2008 +0000
     1.2 +++ b/src/video/SDL_video.c	Tue Nov 25 05:29:14 2008 +0000
     1.3 @@ -46,9 +46,6 @@
     1.4  #endif
     1.5  #endif /* SDL_VIDEO_OPENGL */
     1.6  
     1.7 -/* From SDL_surface.c */
     1.8 -extern void SDL_ConvertColorkeyToAlpha(SDL_Surface * surface);
     1.9 -
    1.10  /* Available video drivers */
    1.11  static VideoBootStrap *bootstrap[] = {
    1.12  #if SDL_VIDEO_DRIVER_COCOA
    1.13 @@ -1588,7 +1585,6 @@
    1.14              }
    1.15              dst = SDL_ConvertSurface(surface, dst_fmt, 0);
    1.16              if (dst) {
    1.17 -                SDL_ConvertColorkeyToAlpha(dst);
    1.18                  SDL_UpdateTexture(textureID, NULL, dst->pixels, dst->pitch);
    1.19                  SDL_FreeSurface(dst);
    1.20              }