clean up a debug message

This commit is contained in:
bunnie 2021-03-06 01:12:24 +08:00
parent 0cc1f9f5fb
commit 00ada3ac3c

View file

@ -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<Gid, Canvas, U32>, screen: Rectangle) -> FnvIndexMap<Gid, Canvas, U32> {
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"); }