=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: ddraw: Update the SetCooperativeLevel comment.
Alexandre Julliard
julliard at winehq.org
Thu Jun 6 13:46:00 CDT 2013
Module: wine
Branch: master
Commit: 410151ca6a66a45b6392c9953b28e35074dd9108
URL: http://source.winehq.org/git/wine.git/?a=commit;h=410151ca6a66a45b6392c9953b28e35074dd9108
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Wed Jun 5 10:55:42 2013 +0200
ddraw: Update the SetCooperativeLevel comment.
---
dlls/ddraw/ddraw.c | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c
index c3e59f7..a3ac54c 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
More information about the wine-cvs
mailing list