diff options
| author | LLLL Colonq <llll@colonq> | 2026-06-04 18:49:58 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-06-04 18:50:57 -0400 |
| commit | 2a8b8e6392d87247a5e7b73773daeece98fa0a73 (patch) | |
| tree | 60ba094d9e3d47c9695af32aa4b7ce9f9a8695c3 /crates/client/src/client.rs | |
| parent | 5bdcffbe94fdc3ce9a12b3ae61e7bff3bcb2f17a (diff) | |
Update
Diffstat (limited to 'crates/client/src/client.rs')
| -rw-r--r-- | crates/client/src/client.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/client/src/client.rs b/crates/client/src/client.rs index 2c03286..909baa6 100644 --- a/crates/client/src/client.rs +++ b/crates/client/src/client.rs @@ -30,10 +30,11 @@ impl teleia::state::Game for Game { } fn render(&mut self, ctx: &context::Context, st: &mut state::State) -> Erm<()> { ctx.clear(); - self.assets.font.render_text( + self.assets.font.render_text_at( ctx, st, - &glam::Vec2::new(0.0, 0.0), + glam::Vec2::new(0.0, 0.0), "hello computer", + font::BitmapParams::default(), ); st.bind_2d(ctx, &self.assets.shader_flat); self.assets.texture_test.bind(ctx); |
