Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hello_world_par example on Linux #4684

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2000,6 +2000,7 @@ version = "0.1.0"
dependencies = [
"eframe",
"env_logger",
"winit",
]

[[package]]
Expand Down
7 changes: 7 additions & 0 deletions examples/hello_world_par/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ workspace = true
eframe = { workspace = true, default-features = false, features = [
# accesskit struggles with threading
"default_fonts",
"wayland",
"x11",
"wgpu",
] }
env_logger = { version = "0.10", default-features = false, features = [
"auto-color",
"humantime",
] }
# This is normally enabled by eframe/default, which is not being used here
# because of accesskit, as mentioned above
winit = { workspace = true, features = [
"default"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example works without this, but the window frame looks different, so I added it to make it match the other examples.

With winit/default

Screenshot from 2024-06-20 20-12-44

Without winit/default

Screenshot from 2024-06-20 20-13-41

] }
Loading