Skip to content

Commit

Permalink
refactor: refactor request handling for improved performance
Browse files Browse the repository at this point in the history
- change `force_fallback_adapter` to `false` in the `request_adapter` function.
  • Loading branch information
falcucci committed Sep 19, 2024
1 parent 38304bb commit 74e83ca
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: true,
force_fallback_adapter: false,
compatible_surface: None,
})
.await
Expand Down

0 comments on commit 74e83ca

Please sign in to comment.