rewrite it in rust #1

Merged
SonicSwordcane merged 20 commits from riir into main 2024-11-10 23:34:55 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 756835f90e - Show all commits

View File

@ -44,7 +44,7 @@ struct AppWindow {
impl AppWindow { impl AppWindow {
fn setup_gpu(event_loop: &ActiveEventLoop, client: &EmulatorClient) -> Self { fn setup_gpu(event_loop: &ActiveEventLoop, client: &EmulatorClient) -> Self {
let instance = wgpu::Instance::new(wgpu::InstanceDescriptor { let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {
backends: wgpu::Backends::PRIMARY.difference(wgpu::Backends::VULKAN), backends: wgpu::Backends::PRIMARY,
..Default::default() ..Default::default()
}); });