Commit 2efcd9c6 authored by Sam Lantinga's avatar Sam Lantinga

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401705
parent 41c2e03a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment