fix jumping cursor while zooming
This commit is contained in:
parent
fa14a8b60a
commit
918037dd3e
2 changed files with 29 additions and 6 deletions
4
src/dd.c
4
src/dd.c
|
@ -642,8 +642,8 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
|
|||
g_ddraw.height = dwHeight;
|
||||
g_ddraw.bpp = dwBPP;
|
||||
|
||||
InterlockedExchange((LONG*)&g_ddraw.cursor.x, dwWidth / 2);
|
||||
InterlockedExchange((LONG*)&g_ddraw.cursor.y, dwHeight / 2);
|
||||
//InterlockedExchange((LONG*)&g_ddraw.cursor.x, dwWidth / 2);
|
||||
//InterlockedExchange((LONG*)&g_ddraw.cursor.y, dwHeight / 2);
|
||||
|
||||
BOOL border = g_config.border;
|
||||
BOOL nonexclusive = FALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue