Skip to content

Commit

Permalink
Demonic revamp to example low_power
Browse files Browse the repository at this point in the history
  • Loading branch information
B-head committed Jul 7, 2023
1 parent ebbfd6c commit fe794a8
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 212 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2005,12 +2005,12 @@ category = "Window"
wasm = true

[[example]]
name = "low_power"
path = "examples/window/low_power.rs"
name = "run_control"
path = "examples/window/run_control.rs"

[package.metadata.example.low_power]
name = "Low Power"
description = "Demonstrates settings to reduce power use for bevy applications"
[package.metadata.example.run_control]
name = "Run Control"
description = "Demonstration of controlling the run of an application"
category = "Window"
wasm = true

Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_winit/src/winit_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub struct WinitSettings {
pub allow_tick_skip: bool,
/// Limit on the frequency at which schedule `render_schedule_label` runs per second.
/// Even if this is set to a higher value, the monitor refresh rate will be capped.
///
///
/// Redrawing will not be performed unless requested for each frame.
/// Redraw requests are made when:
///
Expand Down
206 changes: 0 additions & 206 deletions examples/window/low_power.rs

This file was deleted.

Loading

0 comments on commit fe794a8

Please sign in to comment.