Nothing Special   »   [go: up one dir, main page]

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

Update to winit 0.20.0 #1260

Merged
merged 2 commits into from
Jan 7, 2020
Merged

Conversation

chrisduerr
Copy link
Contributor

I've taken the liberty to bump winit to version 0.20.0, since the recent DPI changes all have been merged.

I think the only potentially controversial thing is that I've blindly made all PhysicalSize instances to PhysicalSize<u32>, since most usecases I saw in the code used let _: (u32, u32) = size.into(); to immediately destructure the physical size into its width/height. However it's possible that there is an instance where u32 is not the optimal choice, I can't fully judge that myself.

Copy link
Contributor
@goddessfreya goddessfreya left a comment

Choose a reason for hiding this comment

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

Yup, u32 should be fine. Now just to get CI to pass :D

@chrisduerr
Copy link
Contributor Author

I've tried to go through the clunky github CI and hopefully got it all now. Should all be working now hopefully.

@goddessfreya goddessfreya merged commit 447f352 into rust-windowing:master Jan 7, 2020
@goddessfreya
Copy link
Contributor

Sweet. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants