comparison src/video/x11/SDL_x11modes.c @ 1747:e75d0cbcf3c8

(none)
author Sam Lantinga <slouken@libsdl.org>
date Sat, 29 Apr 2006 17:56:06 +0000
parents a0ddae8b43cf
children c2c6ff414ef5
comparison
equal deleted inserted replaced
1746:a0ddae8b43cf 1747:e75d0cbcf3c8
423 } 423 }
424 } 424 }
425 } 425 }
426 426
427 /* Query the extension version */ 427 /* Query the extension version */
428 vm_error = -1;
428 if ( !SDL_NAME(XF86VidModeQueryExtension)(SDL_Display, &vm_event, &vm_error) || 429 if ( !SDL_NAME(XF86VidModeQueryExtension)(SDL_Display, &vm_event, &vm_error) ||
429 !SDL_NAME(XF86VidModeQueryVersion)(SDL_Display, major, minor) ) { 430 !SDL_NAME(XF86VidModeQueryVersion)(SDL_Display, major, minor) ) {
430 return 0; 431 return 0;
431 } 432 }
432 return 1; 433 return 1;