Force PCem to leave fullscreen mode when losing focus.
DirectInput mouse initialisation no longer fails if mouse can not be immediately acquired.
This commit is contained in:
parent
b9a0084792
commit
b79be95623
2 changed files with 3 additions and 2 deletions
|
|
@ -31,8 +31,6 @@ void mouse_init()
|
|||
fatal("mouse_init : SetCooperativeLevel failed\n");
|
||||
if (FAILED(lpdi_mouse->SetDataFormat(&c_dfDIMouse)))
|
||||
fatal("mouse_init : SetDataFormat failed\n");
|
||||
if (FAILED(lpdi_mouse->Acquire()))
|
||||
fatal("mouse_init : Acquire failed\n");
|
||||
}
|
||||
|
||||
void mouse_close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue