mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-16 16:41:30 +00:00
compile fixes
This commit is contained in:
parent
2c703a045e
commit
a12c6913dc
1 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@
|
||||||
# include <X11/extensions/xf86vmstr.h>
|
# include <X11/extensions/xf86vmstr.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "console.h"
|
||||||
#include "dga_check.h"
|
#include "dga_check.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -123,7 +124,7 @@ VID_CheckVMode (Display * dpy, int *maj_ver, int *min_ver)
|
||||||
if (!XF86VidModeQueryVersion (dpy, maj_ver, min_ver))
|
if (!XF86VidModeQueryVersion (dpy, maj_ver, min_ver))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ((!maj_ver) || (*maj_ver != XVIDMODE_MAJOR_VERSION)) {
|
if ((!maj_ver) || (*maj_ver != XF86VIDMODE_MAJOR_VERSION)) {
|
||||||
Con_Printf ("VID: Incorrect VidMode version: %d.%d, \n", *maj_ver, *min_ver);
|
Con_Printf ("VID: Incorrect VidMode version: %d.%d, \n", *maj_ver, *min_ver);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue