mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 16:51:53 +03:00
Go back to default power preference and BackendBit
This commit is contained in:
parent
89f27cd5c6
commit
0ef7ec8d44
@ -33,10 +33,10 @@ fn run_event_loop() -> Result<(), Box<dyn Error>> {
|
|||||||
let (device, queue) = futures::executor::block_on(async {
|
let (device, queue) = futures::executor::block_on(async {
|
||||||
let adapter = wgpu::Adapter::request(
|
let adapter = wgpu::Adapter::request(
|
||||||
&wgpu::RequestAdapterOptions {
|
&wgpu::RequestAdapterOptions {
|
||||||
power_preference: wgpu::PowerPreference::Default,
|
power_preference: wgpu::PowerPreference::HighPerformance,
|
||||||
compatible_surface: Some(&surface),
|
compatible_surface: Some(&surface),
|
||||||
},
|
},
|
||||||
wgpu::BackendBit::PRIMARY,
|
wgpu::BackendBit::all(),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
.expect("Request adapter");
|
.expect("Request adapter");
|
||||||
|
Loading…
Reference in New Issue
Block a user