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

This commit is contained in:
Lionel Ulmer 2001-02-12 18:08:53 +00:00 committed by Alexandre Julliard
parent 9f05b8229f
commit 7dd4c312a4
1 changed files with 0 additions and 4 deletions

View File

@ -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???
*