From b2e74ef7ae9ca5c6f198afc177b7a6412079f10e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 22 Apr 2016 19:30:03 +0200 Subject: [PATCH] small fix to prevent compilation warning for SDL1 target --- src/libgame/sdl.c | 2 +- src/libgame/sdl.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index bf00eadb..913205aa 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -788,12 +788,12 @@ void SDLSetWindowFullscreen(boolean fullscreen) video.fullscreen_initial = FALSE; } } +#endif void SDLRedrawWindow() { UpdateScreen_WithoutFrameDelay(NULL); } -#endif void SDLCreateBitmapContent(Bitmap *bitmap, int width, int height, int depth) diff --git a/src/libgame/sdl.h b/src/libgame/sdl.h index 195a8011..bad3037c 100644 --- a/src/libgame/sdl.h +++ b/src/libgame/sdl.h @@ -439,9 +439,10 @@ void SDLSetWindowScaling(int); void SDLSetWindowScalingQuality(char *); void SDLSetScreenRenderingMode(char *); void SDLSetWindowFullscreen(boolean); -void SDLRedrawWindow(); #endif +void SDLRedrawWindow(); + void SDLSetWindowTitle(void); void SDLLimitScreenUpdates(boolean); -- 2.34.1