reset device when nonexclusive is enabled
This commit is contained in:
parent
486baae2ef
commit
15e7f9d2c3
1 changed files with 3 additions and 0 deletions
3
src/dd.c
3
src/dd.c
|
@ -967,6 +967,9 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
|
|||
g_ddraw->render.height,
|
||||
swp_flags);
|
||||
|
||||
if (d3d9_active && g_ddraw->nonexclusive)
|
||||
d3d9_reset(TRUE);
|
||||
|
||||
g_ddraw->last_set_window_pos_tick = timeGetTime();
|
||||
|
||||
mouse_lock();
|
||||
|
|
Loading…
Reference in a new issue