From 21fcb48565f7504d2f1c46b81538bdd78a0a72e5 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Sat, 3 Feb 2018 08:33:16 +0100 Subject: [PATCH] Fullscreen has been an integer for some time now. At least since we introduced support for mod changing and for scaling fullscreen. --- src/client/refresh/soft/sw_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/refresh/soft/sw_main.c b/src/client/refresh/soft/sw_main.c index 5c9a4805..5e9c5783 100644 --- a/src/client/refresh/soft/sw_main.c +++ b/src/client/refresh/soft/sw_main.c @@ -1100,7 +1100,7 @@ R_InitGraphics( int width, int height ) R_GammaCorrectAndSetPalette((const unsigned char *)d_8to24table); } -static rserr_t SWimp_SetMode(int *pwidth, int *pheight, int mode, qboolean fullscreen); +static rserr_t SWimp_SetMode(int *pwidth, int *pheight, int mode, int fullscreen); /* ** RE_BeginFrame @@ -1835,7 +1835,7 @@ char shift_size; ** vid.width and vid.height. */ static qboolean -SWimp_InitGraphics(qboolean fullscreen, int *pwidth, int *pheight) +SWimp_InitGraphics(int fullscreen, int *pwidth, int *pheight) { int flags; int curWidth, curHeight; @@ -2027,7 +2027,7 @@ RE_EndFrame (void) ** SWimp_SetMode */ static rserr_t -SWimp_SetMode(int *pwidth, int *pheight, int mode, qboolean fullscreen ) +SWimp_SetMode(int *pwidth, int *pheight, int mode, int fullscreen ) { rserr_t retval = rserr_ok;