Use correct check to see if xserver supports xvidmode.

This commit is contained in:
Jukka Heinonen 2002-09-29 18:02:40 +00:00 committed by Alexandre Julliard
parent a4f580b74b
commit 6f5dd37b8a
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ void X11DRV_XF86VM_Init(void)
/* see if XVidMode is available */ /* see if XVidMode is available */
wine_tsx11_lock(); wine_tsx11_lock();
ok = !XF86VidModeQueryExtension(gdi_display, &xf86vm_event, &xf86vm_error); ok = XF86VidModeQueryExtension(gdi_display, &xf86vm_event, &xf86vm_error);
if (ok) if (ok)
{ {
X11DRV_expect_error(gdi_display, XVidModeErrorHandler, NULL); X11DRV_expect_error(gdi_display, XVidModeErrorHandler, NULL);