projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b805f
)
removed unused function
author
Holger Schemel
<info@artsoft.org>
Sun, 25 Oct 2020 19:17:27 +0000
(20:17 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 25 Oct 2020 19:17:27 +0000
(20:17 +0100)
src/libgame/sdl.c
patch
|
blob
|
history
diff --git
a/src/libgame/sdl.c
b/src/libgame/sdl.c
index 0325c45f038383c8a5e971be60c59dd1d9930906..e005eb0ef829b69d85053b2da460c440c3499b76 100644
(file)
--- 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;