Skip to content

Commit

Permalink
fix linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Korcan Hussein committed Sep 11, 2024
1 parent fe8e604 commit 282e8a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions alvr/server/cpp/alvr_server/OvrHMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<vr::HmdRect2_t,2> view_projs = {
fov_to_projection(config.fov[0]),
fov_to_projection(config.fov[1])
Expand Down
2 changes: 2 additions & 0 deletions alvr/server/cpp/platform/linux/CEncoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 282e8a0

Please sign in to comment.