mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
More Display checks
This commit is contained in:
parent
66a2676652
commit
e66f5dee8a
1 changed files with 6 additions and 1 deletions
|
|
@ -68,7 +68,12 @@ static bool getVidModeExtensionVersion(Display *disp, int screen, int *major, in
|
|||
#endif
|
||||
return false;
|
||||
}
|
||||
XF86VidModeQueryVersion(disp, major, minor);
|
||||
if (!XF86VidModeQueryVersion(disp, major, minor)) {
|
||||
#ifdef _DEBUG
|
||||
printf("Could not determine XF86VidMode version\n");
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
printf("XF86VidMode extension version %i.%i\n", major, minor);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue