Change name of m_pWindow in Linux only section

Name was not changed by tooling due to being in a Linux ifdef.
This commit is contained in:
Vasily
2019-11-30 18:14:49 +01:00
committed by username223
parent 8300f5395e
commit 6e04c77be2
+1 -1
View File
@@ -590,7 +590,7 @@ QPoint OverlayController::getMousePositionForEvent( vr::VREvent_Mouse_t mouse )
{ {
float y = mouse.y; float y = mouse.y;
#ifdef __linux__ #ifdef __linux__
float h = static_cast<float>( m_pWindow->height() ); float h = static_cast<float>( m_window->height() );
y = h - y; y = h - y;
#endif #endif
return QPoint( static_cast<int>( mouse.x ), static_cast<int>( y ) ); return QPoint( static_cast<int>( mouse.x ), static_cast<int>( y ) );