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

Make iced_wgpu::Renderer Send by using Arc in text/triangle caches #2692

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

Azorlogh
Copy link
Contributor

@Azorlogh Azorlogh commented Dec 8, 2024

The iced integration for bevy requires the iced_wgpu::Renderer to be Send. It currently isn't due to the text & triangle caches relying on Rc.

This PR changes them to use Arcs instead.

@hecrj hecrj added this to the 0.14 milestone Dec 10, 2024
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!

@hecrj hecrj merged commit ce13c22 into iced-rs:master Dec 10, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants