oops forgot to remove shader from prefab too

This commit is contained in:
griffi-gh 2023-11-22 21:31:05 +01:00
parent 828694cf5a
commit 245db03519

View file

@ -48,10 +48,6 @@ pub struct ChunkShaderPrefab(pub Program);
#[repr(transparent)] #[repr(transparent)]
pub struct ColoredShaderPrefab(pub Program); pub struct ColoredShaderPrefab(pub Program);
#[derive(Unique)]
#[repr(transparent)]
pub struct ProgressbarShaderPrefab(pub Program);
pub fn load_prefabs( pub fn load_prefabs(
storages: AllStoragesView, storages: AllStoragesView,
renderer: NonSendSync<UniqueView<Renderer>>, renderer: NonSendSync<UniqueView<Renderer>>,
@ -84,14 +80,6 @@ pub fn load_prefabs(
&renderer.display &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"); log::info!("releasing shader compiler");