Skip to content
Snippets Groups Projects
Commit 2829286b authored by Sebastian Hahta's avatar Sebastian Hahta
Browse files

missing return, removed debug messages

parent ad97c03a
No related branches found
No related tags found
No related merge requests found
Pipeline #16061 passed
...@@ -298,12 +298,9 @@ bool ftl::gui::Screen::initVR() { ...@@ -298,12 +298,9 @@ bool ftl::gui::Screen::initVR() {
{ {
HMD_ = nullptr; HMD_ = nullptr;
LOG(ERROR) << "Unable to init VR runtime: " << vr::VR_GetVRInitErrorAsEnglishDescription(eError); 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; return true;
} }
......
...@@ -62,9 +62,6 @@ class Screen : public nanogui::Screen { ...@@ -62,9 +62,6 @@ class Screen : public nanogui::Screen {
bool hasVR() const { return false; } bool hasVR() const { return false; }
#endif #endif
void setDualView(bool v) { show_two_images_ = v; LOG(INFO) << "CLICK"; }
bool getDualView() { return show_two_images_; }
nanogui::Theme *windowtheme; nanogui::Theme *windowtheme;
nanogui::Theme *specialtheme; nanogui::Theme *specialtheme;
nanogui::Theme *mediatheme; nanogui::Theme *mediatheme;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment