mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Try tweaking BackendBit to fix Linux
Folkert was getting a "Request adapter" panic. Maybe tweaking these settings will fix it?
This commit is contained in:
parent
81f140b744
commit
89f27cd5c6
1 changed files with 2 additions and 2 deletions
|
@ -33,10 +33,10 @@ fn run_event_loop() -> Result<(), Box<dyn Error>> {
|
|||
let (device, queue) = futures::executor::block_on(async {
|
||||
let adapter = wgpu::Adapter::request(
|
||||
&wgpu::RequestAdapterOptions {
|
||||
power_preference: wgpu::PowerPreference::HighPerformance,
|
||||
power_preference: wgpu::PowerPreference::Default,
|
||||
compatible_surface: Some(&surface),
|
||||
},
|
||||
wgpu::BackendBit::all(),
|
||||
wgpu::BackendBit::PRIMARY,
|
||||
)
|
||||
.await
|
||||
.expect("Request adapter");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue