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.
This commit is contained in:
parent
81504d6a2d
commit
df891b823a
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue