small fix to prevent compilation warning for SDL1 target
authorHolger Schemel <info@artsoft.org>
Fri, 22 Apr 2016 17:30:03 +0000 (19:30 +0200)
committerHolger Schemel <info@artsoft.org>
Fri, 22 Apr 2016 17:30:03 +0000 (19:30 +0200)
src/libgame/sdl.c
src/libgame/sdl.h

index bf00eadbcc4c422e3401a81a1f08dfbebe4bad70..913205aaa6d5893a1cc6150519feec18a6ec6057 100644 (file)
@@ -788,12 +788,12 @@ void SDLSetWindowFullscreen(boolean fullscreen)
     video.fullscreen_initial = FALSE;
   }
 }
     video.fullscreen_initial = FALSE;
   }
 }
+#endif
 
 void SDLRedrawWindow()
 {
   UpdateScreen_WithoutFrameDelay(NULL);
 }
 
 void SDLRedrawWindow()
 {
   UpdateScreen_WithoutFrameDelay(NULL);
 }
-#endif
 
 void SDLCreateBitmapContent(Bitmap *bitmap, int width, int height,
                            int depth)
 
 void SDLCreateBitmapContent(Bitmap *bitmap, int width, int height,
                            int depth)
index 195a8011c749ed56849f1202088fbf157145ca07..bad3037cde3668a2e2722b0c22115856b4fbb13a 100644 (file)
@@ -439,9 +439,10 @@ void SDLSetWindowScaling(int);
 void SDLSetWindowScalingQuality(char *);
 void SDLSetScreenRenderingMode(char *);
 void SDLSetWindowFullscreen(boolean);
 void SDLSetWindowScalingQuality(char *);
 void SDLSetScreenRenderingMode(char *);
 void SDLSetWindowFullscreen(boolean);
-void SDLRedrawWindow();
 #endif
 
 #endif
 
+void SDLRedrawWindow();
+
 void SDLSetWindowTitle(void);
 
 void SDLLimitScreenUpdates(boolean);
 void SDLSetWindowTitle(void);
 
 void SDLLimitScreenUpdates(boolean);