Initialize cursorclip to game size
This commit is contained in:
parent
e9436a95c8
commit
6e01d1c722
1 changed files with 2 additions and 0 deletions
2
main.c
2
main.c
|
@ -191,6 +191,8 @@ HRESULT __stdcall ddraw_SetDisplayMode(IDirectDrawImpl *This, DWORD width, DWORD
|
|||
This->width = width;
|
||||
This->height = height;
|
||||
This->bpp = bpp;
|
||||
This->cursorclip.width = width;
|
||||
This->cursorclip.height = height;
|
||||
|
||||
if(This->render.width < This->width)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue