diff --git a/applications/gui/src/screen.cpp b/applications/gui/src/screen.cpp index 76d727a996abf445fb09a0d0237d13cce8b974c8..a9f4cc023265ba427a0be451ee3337fe834528bc 100644 --- a/applications/gui/src/screen.cpp +++ b/applications/gui/src/screen.cpp @@ -298,12 +298,9 @@ bool ftl::gui::Screen::initVR() { { HMD_ = nullptr; LOG(ERROR) << "Unable to init VR runtime: " << vr::VR_GetVRInitErrorAsEnglishDescription(eError); + return false; } - uint32_t size_x, size_y; - HMD_->GetRecommendedRenderTargetSize(&size_x, &size_y); - LOG(INFO) << size_x << ", " << size_y; - LOG(INFO) << "\n" << getCameraMatrix(HMD_, vr::Eye_Left); return true; } diff --git a/applications/gui/src/screen.hpp b/applications/gui/src/screen.hpp index b78ad8b690017d84950f0e135473731c631492bc..a0ac39d064875bdc5be81e526a95ac9269617c25 100644 --- a/applications/gui/src/screen.hpp +++ b/applications/gui/src/screen.hpp @@ -62,9 +62,6 @@ class Screen : public nanogui::Screen { bool hasVR() const { return false; } #endif - void setDualView(bool v) { show_two_images_ = v; LOG(INFO) << "CLICK"; } - bool getDualView() { return show_two_images_; } - nanogui::Theme *windowtheme; nanogui::Theme *specialtheme; nanogui::Theme *mediatheme;