From 410151ca6a66a45b6392c9953b28e35074dd9108 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20D=C3=B6singer?= Date: Wed, 5 Jun 2013 10:55:42 +0200 Subject: [PATCH] ddraw: Update the SetCooperativeLevel comment. --- dlls/ddraw/ddraw.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index c3e59f7fd39..a3ac54c63fc 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -738,23 +738,21 @@ static HRESULT WINAPI ddraw1_RestoreDisplayMode(IDirectDraw *iface) * fixme, be sure to run again with a +ddraw trace. * * What is known about cooperative levels (See the ddraw modes test): - * DDSCL_EXCLUSIVE and DDSCL_FULLSCREEN must be used with each other - * DDSCL_NORMAL is not compatible with DDSCL_EXCLUSIVE or DDSCL_FULLSCREEN + * DDSCL_EXCLUSIVE requires DDSCL_FULLSCREEN. + * DDSCL_NORMAL is not compatible with DDSCL_EXCLUSIVE. + * Unlike what msdn claims, DDSCL_NORMAL | DDSCL_FULLSCREEN is allowed. * DDSCL_SETFOCUSWINDOW can be passed only in DDSCL_NORMAL mode, but after that - * DDSCL_FULLSCREEN can be activated - * DDSCL_SETFOCUSWINDOW may only be used with DDSCL_NOWINDOWCHANGES + * DDSCL_EXCLUSIVE can be activated. + * DDSCL_SETFOCUSWINDOW may only be used with DDSCL_NOWINDOWCHANGES or + * DDSCL_CREATEDEVICEWINDOW. * * Handled flags: DDSCL_NORMAL, DDSCL_FULLSCREEN, DDSCL_EXCLUSIVE, + * DDSCL_CREATEDEVICEWINDOW, DDSCL_SETDEVICEWINDOW * DDSCL_SETFOCUSWINDOW (partially), * DDSCL_MULTITHREADED (work in progress) + * DDSCL_FPUPRESERVE (see device.c) * - * Unhandled flags, which should be implemented - * DDSCL_SETDEVICEWINDOW: Sets a window specially used for rendering (I don't - * expect any difference to a normal window for wine) - * DDSCL_CREATEDEVICEWINDOW: Tells ddraw to create its own window for - * rendering (Possible test case: Half-Life) - * - * Unsure about these: DDSCL_FPUSETUP DDSCL_FPURESERVE + * Unsure about this: DDSCL_FPUSETUP * * These don't seem very important for wine: * DDSCL_ALLOWREBOOT, DDSCL_NOWINDOWCHANGES, DDSCL_ALLOWMODEX -- 2.11.4.GIT