mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix cursor with devmode
This commit is contained in:
parent
4595b088ed
commit
abebaa02a8
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…
x
Reference in New Issue
Block a user