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 037264d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions alvr/client_core/src/graphics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,7 @@ impl GraphicsContext {
&DeviceDescriptor {
label: None,
required_features: Features::PUSH_CONSTANTS,
required_limits: Limits {
max_push_constant_size: 72,
..Default::default()
},
required_limits: 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 037264d

Please sign in to comment.