Skip to content

Commit

Permalink
bugfix: btb-stage detection for quad-views
Browse files Browse the repository at this point in the history
  • Loading branch information
Detegr committed Jul 29, 2024
1 parent 92c345d commit e16cc56
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.9.1

- Fix a bug where a BTB stage was not detected correctly for disabling quad
view rendering.

## 0.9.0

- Change the OpenXR backend to use D3D11 mode. This mode is more compatible
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ set(HEADERS

set(openRBRVR_Major 0)
set(openRBRVR_Minor 9)
set(openRBRVR_Patch 0)
set(openRBRVR_Patch 1)
set(openRBRVR_Tweak 0)
# set(openRBRVR_TweakStr "-rc${openRBRVR_Tweak}")

Expand Down
4 changes: 1 addition & 3 deletions src/RBR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,7 @@ namespace rbr {
g::previously_on_btb_stage = false;
g::cfg.quad_view_rendering = true;
restart_session = true;
}

if (g::vr) {
} else if (!g::previously_on_btb_stage && !is_on_btb_stage()) {
bool wanted_quad_view_mode = g::vr->get_current_render_context()->quad_view_rendering;
restart_session = g::cfg.quad_view_rendering != wanted_quad_view_mode;
g::cfg.quad_view_rendering = wanted_quad_view_mode;
Expand Down

0 comments on commit e16cc56

Please sign in to comment.