tirbofish/dropbear · commit
0394e11a8ea1553291f9b46a0651d71d441540b9
fix: actually builds and displays a texture properly. the dir light is weird tho. Unverified
@@ -72,6 +72,7 @@ semver = { version = "1.0", features = ["serde"] } rapier3d = { version = "0.32", features = [ "simd-stable", "serde-serialize" ] } cbindgen = { version = "0.29.2" } postcard = { version = "1.1"} +pollster = "0.4" [workspace.dependencies.image] version = "0.25" @@ -42,6 +42,7 @@ ron.workspace = true dashmap.workspace = true typetag.workspace = true postcard.workspace = true +pollster.workspace = true [target.'cfg(not(target_os = "android"))'.dependencies] rfd.workspace = true @@ -30,7 +30,6 @@ use dropbear_future_queue::FutureQueue; use egui::TextureId; use egui_wgpu::ScreenDescriptor; use env_logger::Builder; -use futures::executor::block_on; use gilrs::{Gilrs, GilrsBuilder}; use log::LevelFilter; use parking_lot::{Mutex, RwLock}; @@ -138,11 +137,16 @@ impl State { }) .await?; + let limits = wgpu::Limits { + max_bind_groups: 8, + ..Default::default() + }; + let (device, queue) = adapter .request_device(&wgpu::DeviceDescriptor { label: Some(format!("{} graphics device", title).as_str()), required_features: wgpu::Features::empty(), - required_limits: wgpu::Limits::default(),
Large diffs are not rendered by default. Showing the first 50 of 141 lines. Show full diff