PATCH: x11drv fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Ciao, Marcus

License: LGPL
Changelog:
	Do not even try to initialise xvidmode or dga2 if it has been
	disabled in the config file.

Index: x11drv_main.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/x11drv_main.c,v
retrieving revision 1.55
diff -u -r1.55 x11drv_main.c
--- x11drv_main.c	14 Jun 2002 00:08:40 -0000	1.55
+++ x11drv_main.c	4 Jul 2002 07:33:08 -0000
@@ -362,11 +362,13 @@
 
 #ifdef HAVE_LIBXXF86VM
     /* initialize XVidMode */
-    X11DRV_XF86VM_Init();
+    if (usexvidmode)
+       X11DRV_XF86VM_Init();
 #endif
 #ifdef HAVE_LIBXXF86DGA2
     /* initialize DGA2 */
-    X11DRV_XF86DGA2_Init();
+    if (usedga)
+        X11DRV_XF86DGA2_Init();
 #endif
 #ifdef HAVE_OPENGL
     /* initialize GLX */


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux