From 66a4f9ea42217367d61293e2f62c746aed984b05 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Fri, 14 Mar 2025 22:14:38 -0400 Subject: Update --- crates/throwshade/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/throwshade') diff --git a/crates/throwshade/src/lib.rs b/crates/throwshade/src/lib.rs index b408993..7fffa37 100644 --- a/crates/throwshade/src/lib.rs +++ b/crates/throwshade/src/lib.rs @@ -49,7 +49,7 @@ cfg_if::cfg_if! { } } impl state::Game for Game { - fn render(&mut self, ctx: &context::Context, st: &mut state::State) -> Option<()> { + fn render(&mut self, ctx: &context::Context, st: &mut state::State) -> Erm<()> { if let Some(s) = &self.throwshade.shader { ctx.clear_color(glam::Vec4::new(0.0, 0.0, 0.0, 0.0)); ctx.clear(); @@ -60,7 +60,7 @@ cfg_if::cfg_if! { s.set_f32(ctx, "time", elapsed); ctx.render_no_geometry(); } - Some(()) + Ok(()) } } -- cgit v1.2.3