--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401705
This commit is contained in:
parent
41c2e03aa4
commit
2efcd9c6dc
1 changed files with 1 additions and 0 deletions
|
@ -425,6 +425,7 @@ static int CheckVidMode(_THIS, int *major, int *minor)
|
|||
}
|
||||
|
||||
/* Query the extension version */
|
||||
vm_error = -1;
|
||||
if ( !SDL_NAME(XF86VidModeQueryExtension)(SDL_Display, &vm_event, &vm_error) ||
|
||||
!SDL_NAME(XF86VidModeQueryVersion)(SDL_Display, major, minor) ) {
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue