diff --git a/Cargo.toml b/Cargo.toml index 435e5c87789a259dba789519532c06c7a4926e55..c1a693c0a339d9bb8b1bcd4e22b4982b1c1ad04d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ interpolation = "0.2" bevy = { version = "0.7", default-features = false } [dev-dependencies] -bevy-inspector-egui = "0.8" +bevy-inspector-egui = "0.10" [[example]] name = "menu" diff --git a/examples/colormaterial_color.rs b/examples/colormaterial_color.rs index 0f67bac1b2fcdffda454e74a8b6a8c62fbd3ea6f..69cd4bd72318fa349461da52c106be383347e2c1 100644 --- a/examples/colormaterial_color.rs +++ b/examples/colormaterial_color.rs @@ -11,7 +11,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { title: "ColorMaterialColorLens".to_string(), width: 1200., height: 600., - vsync: true, + present_mode: bevy::window::PresentMode::Fifo, // vsync ..Default::default() }) .add_plugins(DefaultPlugins) diff --git a/examples/menu.rs b/examples/menu.rs index f9da854b2135e290a55ac008c3b6b2d315da5a2e..5dafd84e66cf35b15727ab0fd2f08424cec27934 100644 --- a/examples/menu.rs +++ b/examples/menu.rs @@ -9,7 +9,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { title: "Menu".to_string(), width: 800., height: 400., - vsync: true, + present_mode: bevy::window::PresentMode::Fifo, // vsync ..Default::default() }) .add_plugins(DefaultPlugins) diff --git a/examples/sequence.rs b/examples/sequence.rs index 84858b512b2640a5d064bdca504e83897f51ac9a..ebbb51fd5c172aa8e002e2fef2c0d02266d0b6ae 100644 --- a/examples/sequence.rs +++ b/examples/sequence.rs @@ -8,7 +8,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { title: "Sequence".to_string(), width: 600., height: 600., - vsync: true, + present_mode: bevy::window::PresentMode::Fifo, // vsync ..Default::default() }) .add_plugins(DefaultPlugins) diff --git a/examples/sprite_color.rs b/examples/sprite_color.rs index 959c0f47b891facf07e7027c508923b241656713..44b8a82684a441d32c164b9637fa7f241443f643 100644 --- a/examples/sprite_color.rs +++ b/examples/sprite_color.rs @@ -7,7 +7,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { title: "SpriteColorLens".to_string(), width: 1200., height: 600., - vsync: true, + present_mode: bevy::window::PresentMode::Fifo, // vsync ..Default::default() }) .add_plugins(DefaultPlugins) diff --git a/examples/text_color.rs b/examples/text_color.rs index adc513f2e99970be12f83ce7c056de2b1fe8d4ce..29a9daea90c37cbdd94c1f420bc4383c80dd0928 100644 --- a/examples/text_color.rs +++ b/examples/text_color.rs @@ -10,7 +10,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { title: "TextColorLens".to_string(), width: WIDTH, height: HEIGHT, - vsync: true, + present_mode: bevy::window::PresentMode::Fifo, // vsync ..Default::default() }) .add_plugins(DefaultPlugins) diff --git a/examples/transform_rotation.rs b/examples/transform_rotation.rs index 7bd06de4d76cee6bd2a6de7635130c8377a8b4b3..6eab8618d1202279a1ebc8e8d713bf3b174877f5 100644 --- a/examples/transform_rotation.rs +++ b/examples/transform_rotation.rs @@ -7,7 +7,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { title: "TransformRotationLens".to_string(), width: 1400., height: 600., - vsync: true, + present_mode: bevy::window::PresentMode::Fifo, // vsync ..Default::default() }) .add_plugins(DefaultPlugins) diff --git a/examples/transform_translation.rs b/examples/transform_translation.rs index 6c4f9a9156d0033ccddf7bb8f18682265ae2ac51..007373f4e7aaf939e7bbaf83ced98f9116ac2f37 100644 --- a/examples/transform_translation.rs +++ b/examples/transform_translation.rs @@ -7,7 +7,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { title: "TransformPositionLens".to_string(), width: 1400., height: 600., - vsync: true, + present_mode: bevy::window::PresentMode::Fifo, // vsync ..Default::default() }) .add_plugins(DefaultPlugins) diff --git a/examples/ui_position.rs b/examples/ui_position.rs index ca331c287eeb60032bada6daeb4b3bd405651c98..16503cf658fe0d5ea88cd9a6994450b52c0a983c 100644 --- a/examples/ui_position.rs +++ b/examples/ui_position.rs @@ -7,7 +7,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { title: "UiPositionLens".to_string(), width: 1400., height: 600., - vsync: true, + present_mode: bevy::window::PresentMode::Fifo, // vsync ..Default::default() }) .add_plugins(DefaultPlugins)