Fixed: Mouse pointer location after exiting freelook

--HG--
branch : experimental-ui-scaling
feature/pipeline-tools
Nimetu 9 years ago
parent 6bfc777496
commit 87aa86e016

@ -179,9 +179,9 @@ void SetMouseCursor (bool updatePos)
// Get the last cursor
float x = 0.5f, y = 0.5f;
// Window size
uint width = Driver->getWindowWidth();
uint height = Driver->getWindowHeight();
// Screen size
uint width, height;
CViewRenderer::getInstance()->getScreenSize(width, height);
// Update the interface pointer
CInterfaceManager *instance = CInterfaceManager::getInstance();

Loading…
Cancel
Save