Skip to content

Commit 5ee57ff

Browse files
committed
add OpenGL and DX11 backends (#7481)
# Objective Avoid ‘Unable to find a GPU! Make sure you have installed required drivers!’ . Because many devices only support OpenGL without Vulkan. Fixes #3191 ## Solution Use all backends supported by wgpu.
1 parent 67826b2 commit 5ee57ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_render/src/settings.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl Default for WgpuSettings {
4848
let default_backends = if cfg!(feature = "webgl") {
4949
Backends::GL
5050
} else {
51-
Backends::PRIMARY
51+
Backends::all()
5252
};
5353

5454
let backends = Some(wgpu::util::backend_bits_from_env().unwrap_or(default_backends));

0 commit comments

Comments
 (0)