mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
Initialize cursorclip to game size
This commit is contained in:
parent
e9436a95c8
commit
6e01d1c722
2
main.c
2
main.c
@ -191,6 +191,8 @@ HRESULT __stdcall ddraw_SetDisplayMode(IDirectDrawImpl *This, DWORD width, DWORD
|
|||||||
This->width = width;
|
This->width = width;
|
||||||
This->height = height;
|
This->height = height;
|
||||||
This->bpp = bpp;
|
This->bpp = bpp;
|
||||||
|
This->cursorclip.width = width;
|
||||||
|
This->cursorclip.height = height;
|
||||||
|
|
||||||
if(This->render.width < This->width)
|
if(This->render.width < This->width)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user