From 958a99eabfcbb445dd2093920bf6e8457718b5f6 Mon Sep 17 00:00:00 2001 From: core Date: Tue, 11 Apr 2023 21:57:21 -0400 Subject: [PATCH] [WIP! VERY WIP! SUPER WIP!] start working on rendering code - add please no touchy notice --- client/src/rendering/renderer.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/rendering/renderer.rs b/client/src/rendering/renderer.rs index 6a1cad752eae926ed174a25a3746b8e560b5f222..2d4d15b72ad125ea83a9fe7b17b4b3fb1d10fade 100644 --- a/client/src/rendering/renderer.rs +++ b/client/src/rendering/renderer.rs @@ -19,7 +19,8 @@ impl Renderer for WebRenderer { } async fn render_frame(&self, _time_delta_ms: f64) -> Result<(), Box> { - // TODO + // TODO - core is working on this, please no touchy without telling him + // TODO - until this notice is removed // time_delta_ms is the delta, in ms, from when the last render_frame was called by the browser let window = web_sys::window().ok_or("window needs to exist")?; let document = window.document().ok_or("window.document needs to exist")?;