DEADSOFTWARE

sdl2: fix building with sdl2
[flatwaifu.git] / src / sdl2 / main.c
index c1b872ca71a417cf29817d220d91b251dd07e10b..66b6680aefec37471739a81acd7bf3cd2ef250ae 100644 (file)
@@ -187,11 +187,10 @@ void Y_unset_videomode (void) {
   }
 }
 
-int Y_set_fullscreen (int yes) {
+void Y_set_fullscreen (int yes) {
   if (window != NULL) {
     SDL_SetWindowFullscreen(window, yes ? SDL_WINDOW_FULLSCREEN : 0);
   }
-  return yes;
 }
 
 int Y_get_fullscreen (void) {