1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

Initialize cursorclip to game size

This commit is contained in:
Toni Spets 2011-04-02 19:40:22 +03:00
parent e9436a95c8
commit 6e01d1c722

2
main.c
View File

@ -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)
{