From 282e8a0a74d8d58b7540a6cb7466d037bf6a490a Mon Sep 17 00:00:00 2001 From: Korcan Hussein Date: Wed, 11 Sep 2024 21:07:39 +0100 Subject: [PATCH] fix linux builds --- alvr/server/cpp/alvr_server/OvrHMD.cpp | 3 --- alvr/server/cpp/platform/linux/CEncoder.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/alvr/server/cpp/alvr_server/OvrHMD.cpp b/alvr/server/cpp/alvr_server/OvrHMD.cpp index ca494010fa..2b031d403e 100644 --- a/alvr/server/cpp/alvr_server/OvrHMD.cpp +++ b/alvr/server/cpp/alvr_server/OvrHMD.cpp @@ -421,9 +421,6 @@ void OvrHmd::StartStreaming() { void OvrHmd::SetViewsConfig(const ViewsConfigData &config) { this->views_config = config; - const float viewportWidth = Settings::Instance().m_renderWidth / 2; - const float viewportHeight = Settings::Instance().m_renderHeight; - const std::array view_projs = { fov_to_projection(config.fov[0]), fov_to_projection(config.fov[1]) diff --git a/alvr/server/cpp/platform/linux/CEncoder.h b/alvr/server/cpp/platform/linux/CEncoder.h index 7c8eac8e57..81877f17aa 100644 --- a/alvr/server/cpp/platform/linux/CEncoder.h +++ b/alvr/server/cpp/platform/linux/CEncoder.h @@ -19,6 +19,8 @@ class CEncoder : public CThread { void Stop(); void OnPacketLoss(); void InsertIDR(); + template < typename HiddenAreaMeshViewsT > + bool SetVisibilityMasks(const HiddenAreaMeshViewsT&) { return false; } private: void GetFds(int client, int (*fds)[6]);