diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-02-28 00:53:24 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-06-28 14:29:33 +0100 |
commit | ef1578e736887aadf209172f48daa9eaec25b3db (patch) | |
tree | 175475967f453949c6d38697d4196fa1e4f765dd /hw/xwin | |
parent | 0a0c1bd93259c208184d6ad974ba55658191af0c (diff) |
hw/xwin: Fix a typo in "Remove Shadow DirectDraw engine"
Commit 7a22912e "Remove Shadow DirectDraw engine" contained a typo, changing
the fullscreen && DirectDraw check in WM_DISPLAYCHANGE to fullscreen ||
DirectDraw
This causes disruptive depth changes to be improperly handled
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'hw/xwin')
-rw-r--r-- | hw/xwin/winwndproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/winwndproc.c b/hw/xwin/winwndproc.c index 6cbd44755..7236a9520 100644 --- a/hw/xwin/winwndproc.c +++ b/hw/xwin/winwndproc.c @@ -162,7 +162,7 @@ winWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) * their own mode when they become active. */ if (s_pScreenInfo->fFullScreen - || (s_pScreenInfo->dwEngine == WIN_SERVER_SHADOW_DDNL)) { + && (s_pScreenInfo->dwEngine == WIN_SERVER_SHADOW_DDNL)) { break; } |