Commit 7dd4c312 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Allow an application to re-ask for EXCLUSIVE DirectDraw access.

parent 9f05b822
......@@ -876,10 +876,6 @@ Main_DirectDraw_SetCooperativeLevel(LPDIRECTDRAW7 iface, HWND hwnd,
&& 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???
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment