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>
This commit is contained in:
Jon Turney 2016-02-28 00:53:24 +00:00
parent 0a0c1bd932
commit ef1578e736

View File

@ -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;
}