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:
parent
0a0c1bd932
commit
ef1578e736
|
@ -162,7 +162,7 @@ winWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
* their own mode when they become active.
|
* their own mode when they become active.
|
||||||
*/
|
*/
|
||||||
if (s_pScreenInfo->fFullScreen
|
if (s_pScreenInfo->fFullScreen
|
||||||
|| (s_pScreenInfo->dwEngine == WIN_SERVER_SHADOW_DDNL)) {
|
&& (s_pScreenInfo->dwEngine == WIN_SERVER_SHADOW_DDNL)) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue