force wgpu GL backend

This commit is contained in:
TÖRÖK Attila 2023-05-28 11:21:51 +02:00
parent 40db3af997
commit 1c0f46fb18

View File

@ -196,7 +196,7 @@ fn run(event_loop: EventLoop<custom_event::RuffleEvent>, window: Window) {
let renderer = WgpuRenderBackend::for_window(
&window,
(window.inner_size().width, window.inner_size().height),
wgpu::Backends::all(),
wgpu::Backends::GL,
wgpu::PowerPreference::HighPerformance,
None,
)