From ae864b9028aaa3ef9dfb3aa07beb99c5c3da5d96 Mon Sep 17 00:00:00 2001 From: Emil Axelsson Date: Tue, 28 Mar 2017 13:17:46 +0200 Subject: [PATCH] OpenVR compile fix --- apps/OpenSpace/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/OpenSpace/main.cpp b/apps/OpenSpace/main.cpp index b4ca4eece6..e6beaef342 100644 --- a/apps/OpenSpace/main.cpp +++ b/apps/OpenSpace/main.cpp @@ -102,7 +102,7 @@ void mainInitFunc() { // If we have an OpenVRWindow, initialize OpenVR. sgct::SGCTOpenVR::initialize( - SgctEngine->getNearClippingPlane(), _sgctEngine->getFarClippingPlane() + SgctEngine->getNearClippingPlane(), SgctEngine->getFarClippingPlane() ); #else LWARNING( @@ -167,10 +167,10 @@ void mainRenderFunc() { glm::mat4 projectionMatrix = SgctEngine->getCurrentProjectionMatrix(); #ifdef OPENVR_SUPPORT - bool currentWindowIsHMD = FirstOpenVRWindow == _sgctEngine->getCurrentWindowPtr(); + bool currentWindowIsHMD = FirstOpenVRWindow == SgctEngine->getCurrentWindowPtr(); if (sgct::SGCTOpenVR::isHMDActive() && currentWindowIsHMD) { projectionMatrix = sgct::SGCTOpenVR::getHMDCurrentViewProjectionMatrix( - _sgctEngine->getCurrentFrustumMode() + SgctEngine->getCurrentFrustumMode() ); } #endif