PATCH: Fix deadlock in VGA_DoSetMode

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

 



Changelog:

Avoid deadlock in VGA_DoSetMode. This function should call VGA_DoExit,
not VGA_Exit!

Modified files: dlls/winedos/vga.c

Christian Costa   titan.costa@wanadoo.fr
Index: vga.c
===================================================================
RCS file: /home/wine/wine/dlls/winedos/vga.c,v
retrieving revision 1.9
diff -u -r1.9 vga.c
--- vga.c	19 Apr 2002 00:05:38 -0000	1.9
+++ vga.c	11 May 2002 00:35:34 -0000
@@ -239,7 +239,7 @@
     ModeSet *par = (ModeSet *)arg;
     par->ret=1;
 
-    if (lpddraw) VGA_Exit();
+    if (lpddraw) VGA_DoExit();
     if (!lpddraw) {
         if (!pDirectDrawCreate)
         {

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

  Powered by Linux