summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-12 23:35:00 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-12 23:35:00 +0100
commit9f5d815e932c9c01265fec2f5a079470d73d6cc8 (patch)
tree4d86b50699ea4a36cba451bdffe13a30b457d889 /client
parent32b749262d305b5ce09d1fc0c02f40023033c9bd (diff)
downloadweareserver-9f5d815e932c9c01265fec2f5a079470d73d6cc8.tar
weareserver-9f5d815e932c9c01265fec2f5a079470d73d6cc8.tar.bz2
weareserver-9f5d815e932c9c01265fec2f5a079470d73d6cc8.tar.zst
zero copy texture write
Diffstat (limited to 'client')
-rw-r--r--client/src/scene_prepare.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/scene_prepare.rs b/client/src/scene_prepare.rs
index cf94bbf..2b3e2e7 100644
--- a/client/src/scene_prepare.rs
+++ b/client/src/scene_prepare.rs
@@ -79,7 +79,7 @@ pub struct ScenePreparer {
queue: Arc<Queue>,
texture_bgl: BindGroupLayout,
- textures: DemandMap<Resource<Image>, (Arc<Texture>, Arc<BindGroup>)>,
+ textures: DemandMap<Resource<Image<'static>>, (Arc<Texture>, Arc<BindGroup>)>,
placeholder_textures: DemandMap<bool, (Arc<Texture>, Arc<BindGroup>)>,
index_buffers: DemandMap<Resource<Vec<[u32; 3]>>, (Arc<Buffer>, u32)>,
vertex_buffers: DemandMap<Resource<Vec<f32>>, (Arc<Buffer>, u32)>,