Fix warning

This commit is contained in:
Wojtek Figat
2021-02-25 11:14:42 +01:00
parent 87a290b45c
commit d41daee94c

View File

@@ -481,7 +481,7 @@ void WindowsWindow::StartTrackingMouse(bool useMouseScreenOffset)
int32 x = 0 , y = 0, width = 0, height = 0;
GetScreenInfo(x, y, width, height);
_mouseOffsetScreenSize = Rectangle(x, y, width, height);
_mouseOffsetScreenSize = Rectangle((float)x, (float)y, (float)width, (float)height);
SetCapture(_handle);
}