diff options
Diffstat (limited to 'crates/renderer/src/overlay.rs')
| -rw-r--r-- | crates/renderer/src/overlay.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/renderer/src/overlay.rs b/crates/renderer/src/overlay.rs index 40775af..7ccf1f5 100644 --- a/crates/renderer/src/overlay.rs +++ b/crates/renderer/src/overlay.rs @@ -1,3 +1,5 @@ +pub mod asset; + pub mod model; pub mod shader; pub mod drawing; @@ -6,9 +8,8 @@ pub mod tcg; pub mod loopback; pub mod clippy; pub mod combo; -pub mod asset; +pub mod handcam; -use redis::Commands; use teleia::*; use std::f32::consts::PI; @@ -158,7 +159,7 @@ pub struct Overlays { overlays: Vec<Box<dyn Overlay>> } impl Overlays { - pub fn new(ctx: &context::Context, overlays: Vec<Box<dyn Overlay>>) -> Self { + pub fn new(ctx: &context::Context, st: &mut state::State, overlays: Vec<Box<dyn Overlay>>) -> Self { Self { state: State::new(ctx), overlays, |
