Allow an application to re-ask for EXCLUSIVE DirectDraw access.
This commit is contained in:
parent
9f05b8229f
commit
7dd4c312a4
|
@ -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???
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue