Small DDraw problem
Lionel Ulmer
lionel.ulmer at free.fr
Mon Feb 12 03:22:41 CST 2001
> I think you're right - I have a recollection of having removed this myself in a
> local tree that I accidently deleted at some point. I'd say it's good for a
> check-in.
Ok, here is the patch :-)
Changelog:
- allow an application to re-ask for EXCLUSIVE DirectDraw access
Lionel
-------------- next part --------------
Index: wine/dlls/ddraw/ddraw/main.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/ddraw/main.c,v
retrieving revision 1.14
diff -u -r1.14 main.c
--- wine/dlls/ddraw/ddraw/main.c 2001/02/12 03:43:53 1.14
+++ wine/dlls/ddraw/ddraw/main.c 2001/02/12 09:13:35
@@ -876,10 +876,6 @@
&& This->window == hwnd)
return DD_OK;
- if ((This->cooperative_level & DDSCL_EXCLUSIVE) &&
- (cooplevel & DDSCL_EXCLUSIVE))
- return DDERR_EXCLUSIVEMODEALREADYSET;
-
/* XXX "It cannot be reset while the process has surfaces or palettes
* created." Otherwise the window can be changed???
*
More information about the wine-patches
mailing list