- Fixed: The mouse pointer stayed hidden on startup because the CursorState variable was not

set until the mouse was grabbed.

SVN r2662 (trunk)
This commit is contained in:
Randy Heit 2010-09-01 04:24:56 +00:00
parent c25f206fbb
commit 7bf0cd13a6

View file

@ -485,6 +485,7 @@ static FMouse *CreateRawMouse()
FRawMouse::FRawMouse() FRawMouse::FRawMouse()
{ {
Grabbed = false; Grabbed = false;
SetCursorState(true);
} }
//========================================================================== //==========================================================================
@ -678,6 +679,7 @@ FDInputMouse::FDInputMouse()
{ {
Device = NULL; Device = NULL;
Grabbed = false; Grabbed = false;
SetCursorState(true);
} }
//========================================================================== //==========================================================================
@ -903,6 +905,7 @@ FWin32Mouse::FWin32Mouse()
{ {
GetCursorPos(&UngrabbedPointerPos); GetCursorPos(&UngrabbedPointerPos);
Grabbed = false; Grabbed = false;
SetCursorState(true);
} }
//========================================================================== //==========================================================================