(none)
authorSam Lantinga <slouken@libsdl.org>
Sat, 29 Apr 2006 17:56:06 +0000
changeset 1747e75d0cbcf3c8
parent 1746 a0ddae8b43cf
child 1748 5e86e34453d4
(none)
src/video/x11/SDL_x11modes.c
     1.1 --- a/src/video/x11/SDL_x11modes.c	Sat Apr 29 17:54:32 2006 +0000
     1.2 +++ b/src/video/x11/SDL_x11modes.c	Sat Apr 29 17:56:06 2006 +0000
     1.3 @@ -425,6 +425,7 @@
     1.4      }
     1.5  
     1.6      /* Query the extension version */
     1.7 +    vm_error = -1;
     1.8      if ( !SDL_NAME(XF86VidModeQueryExtension)(SDL_Display, &vm_event, &vm_error) ||
     1.9           !SDL_NAME(XF86VidModeQueryVersion)(SDL_Display, major, minor) ) {
    1.10          return 0;