From 36363ac15dc13a19a7899997616c655fb5ec2b70 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");