fix cursor with devmode
This commit is contained in:
parent
4595b088ed
commit
abebaa02a8
1 changed files with 1 additions and 1 deletions
2
src/dd.c
2
src/dd.c
|
@ -830,7 +830,7 @@ HRESULT dd_SetCooperativeLevel(HWND hwnd, DWORD dwFlags)
|
|||
real_ShowCursor(FALSE);
|
||||
|
||||
/* Make sure the cursor is visible in windowed mode initially */
|
||||
if (g_ddraw->windowed && !g_ddraw->fullscreen && cursor_count < 0)
|
||||
if (g_ddraw->windowed && !g_ddraw->fullscreen && !g_ddraw->devmode && cursor_count < 0)
|
||||
{
|
||||
while (real_ShowCursor(TRUE) < 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue