GIT
/
REPO
/
FRED-BOY
Projects
/
flatwaifu.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sdl2: fix building with sdl2
[flatwaifu.git]
/
src
/
sdl2
/
main.c
diff --git
a/src/sdl2/main.c
b/src/sdl2/main.c
index c1b872ca71a417cf29817d220d91b251dd07e10b..66b6680aefec37471739a81acd7bf3cd2ef250ae 100644
(file)
--- 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) {
DEADSOFTWARE 2012-2025