- 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
1 changed files with 3 additions and 0 deletions

View File

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