mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-22 06:48:43 -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)]
|
#[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