From 245db03519b2220333aa07406cd49da8b17c10b3 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Wed, 22 Nov 2023 21:31:05 +0100 Subject: [PATCH] oops forgot to remove shader from prefab too --- kubi/src/prefabs.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/kubi/src/prefabs.rs b/kubi/src/prefabs.rs index 84027cc..6073501 100644 --- a/kubi/src/prefabs.rs +++ b/kubi/src/prefabs.rs @@ -48,10 +48,6 @@ pub struct ChunkShaderPrefab(pub Program); #[repr(transparent)] pub struct ColoredShaderPrefab(pub Program); -#[derive(Unique)] -#[repr(transparent)] -pub struct ProgressbarShaderPrefab(pub Program); - pub fn load_prefabs( storages: AllStoragesView, renderer: NonSendSync>, @@ -84,14 +80,6 @@ pub fn load_prefabs( &renderer.display ) )); - storages.add_unique_non_send_sync(ProgressbarShaderPrefab( - include_shader_prefab!( - "gui/progressbar", - "../shaders/gui/progressbar.vert", - "../shaders/gui/progressbar.frag", - &renderer.display - ) - )); log::info!("releasing shader compiler");