From: Holger Schemel Date: Sun, 25 Oct 2020 19:17:27 +0000 (+0100) Subject: removed unused function X-Git-Tag: 4.2.0.4~5 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=e8521f03e3e2e3952137086b6aaee3a572b01aa1 removed unused function --- diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index 0325c45f..e005eb0e 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -297,18 +297,6 @@ static boolean equalSDLPixelFormat(SDL_PixelFormat *format1, format1->Bmask == format2->Bmask); } -#if 0 -static Pixel SDLGetColorKey(SDL_Surface *surface) -{ - Pixel color_key; - - if (SDL_GetColorKey(surface, &color_key) != 0) - return -1; - - return color_key; -} -#endif - static void SDLCopyColorKey(SDL_Surface *src_surface, SDL_Surface *dst_surface) { Pixel color_key;