mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 21:58:20 -06:00
oops forgot to remove shader from prefab too
This commit is contained in:
parent
a064d571ac
commit
36363ac15d
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue