Skip to content

Commit

Permalink
fix(client): 🐛 Fix focus 3 crash
Browse files Browse the repository at this point in the history
  • Loading branch information
zmerp committed Jul 21, 2024
1 parent 536c2b9 commit 45c9193
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion alvr/client_core/src/graphics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ impl GraphicsContext {
required_features: Features::PUSH_CONSTANTS,
required_limits: Limits {
max_push_constant_size: 72,
..Default::default()
..adapter.limits()
},
},
None,
Expand Down
1 change: 1 addition & 0 deletions alvr/client_openxr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ pub fn entry_point() {
(layer, vsync_time)
};

graphics_context.make_current();
let res = xr_frame_stream.end(
to_xr_time(display_time),
xr::EnvironmentBlendMode::OPAQUE,
Expand Down

0 comments on commit 45c9193

Please sign in to comment.