Use log crate instead of dbg!

This commit is contained in:
Héctor Ramón Jiménez 2019-10-07 04:05:40 +02:00
parent c9510db551
commit c9da3a10d9
3 changed files with 3 additions and 4 deletions

View file

@ -15,3 +15,4 @@ iced_native = { version = "0.1.0-alpha", path = "../native" }
wgpu = "0.3"
wgpu_glyph = "0.4"
raw-window-handle = "0.1"
log = "0.4"

View file

@ -96,6 +96,8 @@ impl Renderer {
}
pub fn draw(&mut self, target: &mut Target, primitive: &Primitive) {
log::debug!("Drawing");
let frame = target.swap_chain.get_next_texture();
let mut encoder = self