Skip to content

Commit

Permalink
Hotfix: Add a flush and restore the wait behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Oct 14, 2019
1 parent 1822f90 commit 0d28692
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Revive/CompositorBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ ovrResult CompositorBase::EndFrame(ovrSession session, ovrLayerHeader const * co
}
m_ActiveOverlays = activeOverlays;

Flush();

vr::EVRCompositorError error = vr::VRCompositorError_None;
if (baseLayer)
error = SubmitLayer(session, baseLayer);
Expand Down
3 changes: 1 addition & 2 deletions Revive/SessionDetails.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ SessionDetails::HackInfo SessionDetails::m_known_hacks[] = {
{ nullptr, "lighthouse", HACK_SPOOF_SENSORS, false },
{ nullptr, "lighthouse", HACK_STRICT_POSES, false },
{ "DCVR-Win64-Shipping.exe", nullptr, HACK_DISABLE_STATS, true },
{ "DCVR-Win64-Shipping.exe", nullptr, HACK_WAIT_ON_SUBMIT, true },
{ "WrathGame-Win64-Shipping.exe", nullptr, HACK_WAIT_ON_SUBMIT, true }
{ "DCVR-Win64-Shipping.exe", nullptr, HACK_WAIT_ON_SUBMIT, true }
};

SessionDetails::SessionDetails()
Expand Down
2 changes: 1 addition & 1 deletion ReviveOverlay/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define REV_MAJOR_VERSION 1
#define REV_MINOR_VERSION 8
#define REV_PATCH_VERSION 2
#define REV_BUILD_NUMBER 2
#define REV_BUILD_NUMBER 3

#define REV_VERSION_STRING REV_STRINGIFY(REV_MAJOR_VERSION.REV_MINOR_VERSION.REV_PATCH_VERSION.REV_BUILD_NUMBER)
#define REV_VERSION_INT (REV_MAJOR_VERSION << 24 | REV_MINOR_VERSION << 16 | REV_PATCH_VERSION << 8 | REV_BUILD_NUMBER)

0 comments on commit 0d28692

Please sign in to comment.