Convert Linux only cast from old style
This commit is contained in:
@@ -461,7 +461,7 @@ QPoint OverlayController::getMousePositionForEvent( vr::VREvent_Mouse_t mouse )
|
|||||||
{
|
{
|
||||||
float y = mouse.y;
|
float y = mouse.y;
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
float h = ( float ) m_pWindow->height();
|
float h = static_cast<float>( m_pWindow->height() );
|
||||||
y = h - y;
|
y = h - y;
|
||||||
#endif
|
#endif
|
||||||
return QPoint( mouse.x, y );
|
return QPoint( mouse.x, y );
|
||||||
|
|||||||
Reference in New Issue
Block a user