X11 xvidmode broken

Jukka Heinonen jhei at iki.fi
Sun Sep 29 03:30:34 CDT 2002


Again a regression bug. This time change in xvidmode driver
has accidentally inverted test logic and xvidmode never gets
enabled. This is really depressing: I turn my back to Wine
for a few months and almost half the programs that used to 
work no longer work...


Changelog: Use correct check to see if xserver supports xvidmode.


Index: dlls/x11drv/xvidmode.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/xvidmode.c,v
retrieving revision 1.16
diff -u -r1.16 xvidmode.c
--- dlls/x11drv/xvidmode.c      24 Sep 2002 18:36:51 -0000      1.16
+++ dlls/x11drv/xvidmode.c      29 Sep 2002 08:19:29 -0000
@@ -118,7 +118,7 @@
 
   /* see if XVidMode is available */
   wine_tsx11_lock();
-  ok = !XF86VidModeQueryExtension(gdi_display, &xf86vm_event, &xf86vm_error);
+  ok = XF86VidModeQueryExtension(gdi_display, &xf86vm_event, &xf86vm_error);
   if (ok)
   {
       X11DRV_expect_error(gdi_display, XVidModeErrorHandler, NULL);


--
Jukka Heinonen <http://www.iki.fi/jhei/>



More information about the wine-patches mailing list