add support for Soldiers At War
This commit is contained in:
parent
93319d4c83
commit
9ac0054f1a
3 changed files with 7 additions and 1 deletions
|
@ -986,7 +986,7 @@ int WINAPI fake_GetDeviceCaps(HDC hdc, int index)
|
|||
}
|
||||
}
|
||||
|
||||
if (width && WindowFromDC(hdc) == GetDesktopWindow())
|
||||
if (width && ((g_ddraw.hwnd && WindowFromDC(hdc) == g_ddraw.hwnd) || WindowFromDC(hdc) == GetDesktopWindow()))
|
||||
{
|
||||
if (index == HORZRES)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue