Skip to content

Commit

Permalink
experiment: turn quad-views back on at main menu
Browse files Browse the repository at this point in the history
There were some crashes mainly after BTB stages where the game crashed
after the stage while loading the main menu. As an experiment, move the
OpenXR session restart to a point where the main menu has already been
loaded.
  • Loading branch information
Detegr committed Aug 10, 2024
1 parent 8cb9a14 commit 9306891
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.0.0

- Use reversed Z-buffer in driving mode and replays. This eliminates all
Z-fighting issues (flickering signs etc.) from the game.
- Re-enable quad-views later on after a stage that it was disabled on to avoid
doing work at a point of time where crashes have been occurring.

## 0.9.2

- Fix a rendering issue with foveated rendering where the peripheral view had
Expand Down
2 changes: 1 addition & 1 deletion src/RBR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ namespace rbr {
g::previously_on_btb_stage = true;
g::cfg.quad_view_rendering = false;
restart_session = true;
} else if (g::previously_on_btb_stage && !is_on_btb_stage()) {
} else if (g::previously_on_btb_stage && !is_on_btb_stage() && g::game_mode == MainMenu) {
// Turn quad view rendering back on if we were using it previously
g::previously_on_btb_stage = false;
g::cfg.quad_view_rendering = true;
Expand Down

0 comments on commit 9306891

Please sign in to comment.