mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-25 13:32:01 +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>
|
||||
#endif
|
||||
|
||||
#include "console.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))
|
||||
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);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue