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

wgpu: Use the preferred texture format of the surface #978

Merged
merged 2 commits into from Aug 4, 2021
Merged

wgpu: Use the preferred texture format of the surface #978

merged 2 commits into from Aug 4, 2021

Conversation

ghost
Copy link

@ghost ghost commented Aug 1, 2021

Use the preferred texture format of the surface instead of Bgra8UnormSrgb.

Related to: #891

Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Thanks for giving this a shot! I think this should improve compatibility considerably 🎉

There is just one concern I have. Let me know what you think!

wgpu/src/image/atlas.rs Outdated Show resolved Hide resolved
@hecrj hecrj added the improvement An internal improvement label Aug 4, 2021
@hecrj hecrj added this to the 0.4.0 milestone Aug 4, 2021
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Looks great! Thank you 🙇

@hecrj hecrj merged commit 63bdbf8 into iced-rs:master Aug 4, 2021
@ghost ghost deleted the use-preffered-format branch August 4, 2021 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An internal improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant