mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-25 21:31:18 +00:00
remove an unwanted && vid_fullscreen->value
This commit is contained in:
parent
3505616216
commit
5f12390209
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ void VID_Init(unsigned char *palette)
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAS_VIDMODE
|
#ifdef HAS_VIDMODE
|
||||||
hasvidmode = VID_CheckVMode(x_disp, NULL, NULL);
|
hasvidmode = VID_CheckVMode(x_disp, NULL, NULL);
|
||||||
if (hasvidmode && vid_fullscreen->value) {
|
if (hasvidmode) {
|
||||||
if (! XF86VidModeGetAllModeLines(x_disp, DefaultScreen(x_disp),
|
if (! XF86VidModeGetAllModeLines(x_disp, DefaultScreen(x_disp),
|
||||||
&nummodes, &vidmodes)
|
&nummodes, &vidmodes)
|
||||||
|| nummodes <= 0) {
|
|| nummodes <= 0) {
|
||||||
|
|
Loading…
Reference in a new issue