mirror of
https://github.com/yawut/SDL.git
synced 2026-05-05 20:57:28 -05:00
This commit is contained in:
parent
f3b20c7f43
commit
672a7294f4
|
|
@ -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…
Reference in New Issue
Block a user