mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Comment out secondary backends
This commit is contained in:
parent
b5e81ba9bb
commit
247fde8e8a
@ -294,7 +294,11 @@ impl Renderer {
|
|||||||
|
|
||||||
let dims = window.inner_size();
|
let dims = window.inner_size();
|
||||||
|
|
||||||
let instance = wgpu::Instance::new(wgpu::BackendBit::PRIMARY | wgpu::BackendBit::SECONDARY);
|
// TODO: fix panic on wayland with opengl?
|
||||||
|
// TODO: fix backend defaulting to opengl on wayland.
|
||||||
|
let instance = wgpu::Instance::new(
|
||||||
|
wgpu::BackendBit::PRIMARY, /* | wgpu::BackendBit::SECONDARY */
|
||||||
|
);
|
||||||
|
|
||||||
// This is unsafe because the window handle must be valid, if you find a way to
|
// This is unsafe because the window handle must be valid, if you find a way to
|
||||||
// have an invalid winit::Window then you have bigger issues
|
// have an invalid winit::Window then you have bigger issues
|
||||||
|
Loading…
Reference in New Issue
Block a user