Skip to content

Commit

Permalink
Revert "macOS Sonoma (14.0) / Xcode 15.0 — Compatibility Fixes + Docs (
Browse files Browse the repository at this point in the history
…bevyengine#9905)"

This reverts commit 20ed3e0.
  • Loading branch information
ameknite committed Oct 1, 2023
1 parent a1a81e5 commit 050067a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/bevy_winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,14 +441,6 @@ pub fn winit_runner(mut app: App) {

match event {
WindowEvent::Resized(size) => {
// TODO: Remove this once we upgrade winit to a version with the fix
#[cfg(target_os = "macos")]
if size.width == u32::MAX || size.height == u32::MAX {
// HACK to fix a bug on Macos 14
// https://github.com/rust-windowing/winit/issues/2876
return;
}

window
.resolution
.set_physical_resolution(size.width, size.height);
Expand Down

0 comments on commit 050067a

Please sign in to comment.