mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-24 05:44:16 +00:00
engine: platform: linux: fix according to platform.h changes
This commit is contained in:
parent
46f38c84b5
commit
b58fbc0c94
@ -114,12 +114,12 @@ qboolean VID_SetMode( void )
|
|||||||
{
|
{
|
||||||
if( fb.tty_fd > 0 )
|
if( fb.tty_fd > 0 )
|
||||||
ioctl( fb.tty_fd, KDSETMODE, KD_GRAPHICS );
|
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;
|
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;
|
int render_w, render_h;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user