Skip to content

Commit

Permalink
Show debug view by default when debug feature is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Apr 26, 2019
1 parent 5f5d189 commit f59b8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl Debug {
Self {
font: graphics::Font::from_bytes(gpu, graphics::Font::DEFAULT)
.expect("Load debug font"),
enabled: false,
enabled: cfg!(feature = "debug"),
load_start: now,
load_duration: time::Duration::from_secs(0),
frame_start: now,
Expand Down

0 comments on commit f59b8f4

Please sign in to comment.