mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- Allow acquiring DirectInput joysticks in the background for fake splitscreen.
This commit is contained in:
parent
f1126bf70e
commit
ed0890c7b6
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ bool FDInputJoystick::GetDevice()
|
|||
Printf(TEXTCOLOR_ORANGE "Setting data format for %s failed.\n", Name.GetChars());
|
||||
return false;
|
||||
}
|
||||
hr = Device->SetCooperativeLevel(Window, DISCL_NONEXCLUSIVE | DISCL_FOREGROUND);
|
||||
hr = Device->SetCooperativeLevel(Window, DISCL_NONEXCLUSIVE | DISCL_BACKGROUND);
|
||||
if (FAILED(hr))
|
||||
{
|
||||
Printf(TEXTCOLOR_ORANGE "Setting cooperative level for %s failed.\n", Name.GetChars());
|
||||
|
|
Loading…
Reference in a new issue