From 00ada3ac3c238ce23836fbac54a030d0a4c73f0e Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 6 Mar 2021 01:12:24 +0800 Subject: [PATCH] clean up a debug message --- services/gam/src/canvas.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gam/src/canvas.rs b/services/gam/src/canvas.rs index 5ae880f11..7d48aa771 100644 --- a/services/gam/src/canvas.rs +++ b/services/gam/src/canvas.rs @@ -141,7 +141,7 @@ impl Eq for Canvas {} // we use the "screen" parameter to determine when we can turn off drawing to canvases that are off-screen pub fn recompute_canvases(canvases: FnvIndexMap, screen: Rectangle) -> FnvIndexMap { - let debug = true; + let debug = false; // first, sort canvases by trust_level. Canvas implements ord/eq based on the trust_level attribute // so jush pushing it into a max binary heap does the trick. if debug { info!("CANVAS: recompute canvas"); }