summaryrefslogtreecommitdiff
path: root/client/src/interfaces/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-18 01:37:42 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-18 01:37:42 +0100
commit5fe6b69f5d2ecc37ee899fd6d9e536f73783d70f (patch)
treeda1590eb626ef7167807f0191f4aafa103704e1a /client/src/interfaces/mod.rs
parenta2c5b47e34d358f8b9b697fba8a6c52585cff8fa (diff)
downloadweareserver-5fe6b69f5d2ecc37ee899fd6d9e536f73783d70f.tar
weareserver-5fe6b69f5d2ecc37ee899fd6d9e536f73783d70f.tar.bz2
weareserver-5fe6b69f5d2ecc37ee899fd6d9e536f73783d70f.tar.zst
profiler show adapter info
Diffstat (limited to 'client/src/interfaces/mod.rs')
-rw-r--r--client/src/interfaces/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/interfaces/mod.rs b/client/src/interfaces/mod.rs
index eb0eb86..9dfce63 100644
--- a/client/src/interfaces/mod.rs
+++ b/client/src/interfaces/mod.rs
@@ -23,6 +23,7 @@ use prefabindex::PrefabIndexInterface;
use profiler::{Profiler, TimingProfiler};
use std::sync::{Arc, Mutex};
use weareshared::resources::PrefabIndex;
+use wgpu::AdapterInfo;
enum Interface {
Selector,
@@ -36,6 +37,7 @@ pub struct InterfaceData {
pub downloader: Arc<Downloader>,
pub prefab_index: Arc<PrefabIndex>,
pub render_timing: Arc<Mutex<TimingProfiler>>,
+ pub adapter_info: Arc<AdapterInfo>,
}
pub fn ui_selector(idata: Arc<InterfaceData>) -> impl Fn(&egui::Context) -> bool {