From: DeaDDooMER Date: Wed, 1 Apr 2020 09:48:07 +0000 (+0400) Subject: sdl2: fix building with sdl2 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=bce2ee390666bc4c90a73e817f9dbd58f4bf9513;p=flatwaifu.git sdl2: fix building with sdl2 --- diff --git a/src/sdl2/main.c b/src/sdl2/main.c index c1b872c..66b6680 100644 --- a/src/sdl2/main.c +++ b/src/sdl2/main.c @@ -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) {