mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Go back to default power preference and BackendBit
This commit is contained in:
parent
89f27cd5c6
commit
0ef7ec8d44
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::Default,
|
||||
power_preference: wgpu::PowerPreference::HighPerformance,
|
||||
compatible_surface: Some(&surface),
|
||||
},
|
||||
wgpu::BackendBit::PRIMARY,
|
||||
wgpu::BackendBit::all(),
|
||||
)
|
||||
.await
|
||||
.expect("Request adapter");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue