From: Holger Schemel Date: Fri, 22 Apr 2016 17:30:03 +0000 (+0200) Subject: small fix to prevent compilation warning for SDL1 target X-Git-Tag: 4.0.0.0-rc2~10 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=b2e74ef7ae9ca5c6f198afc177b7a6412079f10e;ds=sidebyside small fix to prevent compilation warning for SDL1 target --- 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);