From b58fbc0c941f7bffad53e3b5df9a9d2721f661ed Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 10 Oct 2023 14:12:53 +0300 Subject: [PATCH] engine: platform: linux: fix according to platform.h changes --- engine/platform/linux/vid_fbdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/platform/linux/vid_fbdev.c b/engine/platform/linux/vid_fbdev.c index 045f16cb..b6b0e16b 100644 --- a/engine/platform/linux/vid_fbdev.c +++ b/engine/platform/linux/vid_fbdev.c @@ -114,12 +114,12 @@ qboolean VID_SetMode( void ) { if( fb.tty_fd > 0 ) ioctl( fb.tty_fd, KDSETMODE, KD_GRAPHICS ); - R_ChangeDisplaySettings( 0, 0, false ); // width and height are ignored anyway + R_ChangeDisplaySettings( 0, 0, WINDOW_MODE_FULLSCREEN ); // width and height are ignored anyway return true; } -rserr_t R_ChangeDisplaySettings( int width, int height, qboolean fullscreen ) +rserr_t R_ChangeDisplaySettings( int width, int height, window_mode_t window_mode ) { int render_w, render_h;