From d652ece13129417bb16f38197d3e741d5c6609ad Mon Sep 17 00:00:00 2001 From: Alexsander Falcucci Date: Sat, 21 Sep 2024 18:28:20 +0200 Subject: [PATCH] refactor: update request adapter configuration to force fallback adapter - update `force_fallback_adapter` to `true` in the `request_adapter` function --- src/offscreen_renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/offscreen_renderer.rs b/src/offscreen_renderer.rs index d4c1a2c..4479f83 100644 --- a/src/offscreen_renderer.rs +++ b/src/offscreen_renderer.rs @@ -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