Commit df891b82 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

ddraw: Always set fullscreen mode in wined3d.

DDSCL_NORMAL is not set at initialization. Instead of making this a & DDSCL_NORMAL || == 0 check just set fullscreen mode always. WineD3D will catch NOP changes anyway.
parent 81504d6a
......@@ -465,13 +465,9 @@ IDirectDrawImpl_SetCooperativeLevel(IDirectDraw7 *iface,
}
*/
/* Switch from normal to full screen mode? */
if(This->cooperative_level & DDSCL_NORMAL)
{
This->cooperative_level &= ~DDSCL_NORMAL;
IWineD3DDevice_SetFullscreen(This->wineD3DDevice,
TRUE);
}
This->cooperative_level &= ~DDSCL_NORMAL;
IWineD3DDevice_SetFullscreen(This->wineD3DDevice,
TRUE);
/* Don't override focus windows or private device windows */
if( hwnd &&
......
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