Skip to content

Commit

Permalink
refactor: update request adapter configuration to force fallback adapter
Browse files Browse the repository at this point in the history
- update `force_fallback_adapter` to `true` in the `request_adapter` function
  • Loading branch information
falcucci committed Sep 21, 2024
1 parent bd42679 commit d652ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/offscreen_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ impl OffscreenRenderer {
let adapter = instance
.request_adapter(&RequestAdapterOptions {
power_preference: PowerPreference::default(),
force_fallback_adapter: false,
force_fallback_adapter: true,
compatible_surface: None,
})
.await
Expand Down

0 comments on commit d652ece

Please sign in to comment.