mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-22 03:48:21 -06:00
oops forgot to remove shader from prefab too
This commit is contained in:
parent
828694cf5a
commit
245db03519
|
@ -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<UniqueView<Renderer>>,
|
||||
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue