Skip to content

Commit

Permalink
Fix features
Browse files Browse the repository at this point in the history
  • Loading branch information
aevyrie committed Mar 3, 2024
1 parent f6813f2 commit d610278
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,15 @@ bevy = { version = "0.13", default-features = false, features = [
"bevy_ui",
"default_font",
"multi-threaded",
"x11",
] }

[[example]]
name = "demo"
path = "examples/demo.rs"
required-features = ["default"]

[[example]]
name = "minimal"
path = "examples/minimal.rs"
required-features = ["default"]
5 changes: 2 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

use bevy_app::prelude::*;
use bevy_ecs::prelude::*;
use bevy_log::prelude::*;
use bevy_reflect::prelude::*;
use bevy_render::{pipelined_rendering::RenderExtractApp, Render, RenderApp, RenderSet};
use bevy_utils::Instant;
Expand Down Expand Up @@ -202,7 +201,7 @@ fn get_display_refresh_rate(
Limiter::Off => {
#[cfg(feature = "framepace_debug")]
if settings.is_changed() {
info!("Frame limiter disabled");
bevy_log::info!("Frame limiter disabled");
}
return;
}
Expand All @@ -211,7 +210,7 @@ fn get_display_refresh_rate(
if let Ok(mut limit) = frame_limit.0.try_lock() {
if new_frametime != *limit {
#[cfg(feature = "framepace_debug")]
info!("Frametime limit changed to: {:?}", new_frametime);
bevy_log::info!("Frametime limit changed to: {:?}", new_frametime);
*limit = new_frametime;
}
}
Expand Down

0 comments on commit d610278

Please sign in to comment.