From a71d89886071bc3fcc91ea0da2f0268ab969ef0e Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 20 Jul 2023 09:55:10 +0200 Subject: [PATCH] fix --- kubi/src/rendering/world.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kubi/src/rendering/world.rs b/kubi/src/rendering/world.rs index 4e944d2..9b80e85 100644 --- a/kubi/src/rendering/world.rs +++ b/kubi/src/rendering/world.rs @@ -29,8 +29,9 @@ struct WorldUniform { position: [f32; 3], //XXX: should use i32? } +///private type #[derive(Unique)] -struct GpuData { +pub struct GpuData { pipeline: wgpu::RenderPipeline, uniform_buffer: wgpu::Buffer, bind_group: wgpu::BindGroup,