Skip to content

Commit

Permalink
Apply the frame pipelining quirk to all versions of Pimax Client.
Browse files Browse the repository at this point in the history
This is needed because Pimax is distributing version with minor number lower than 10 for beta testing.
  • Loading branch information
mbucchia committed Apr 30, 2023
1 parent ad926d5 commit 139dcfa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pimax-openxr/instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,10 @@ namespace pimax_openxr {

// Quirk for frame pipelining timeout.
// - Pimax Client 1.10 and above;
m_disableFramePipeliningQuirk =
getSetting("quirk_disable_frame_pipelining").value_or(!isPitool && intermediate >= 10);
//
// However, Pimax is giving test versions of Pimax Client with version numbers going backwards, therefore we
// must simply enable the quick for all Pimax Client versiosn.
m_disableFramePipeliningQuirk = getSetting("quirk_disable_frame_pipelining").value_or(!isPitool);

m_alwaysUseFrameIdZero = getSetting("quirk_always_use_frame_id_zero").value_or(0);
} else {
Expand Down

0 comments on commit 139dcfa

Please sign in to comment.