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

Use the WGPU_BACKEND env var if applicable #308

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Conversation

tamewild
Copy link
Contributor

@tamewild tamewild commented Feb 8, 2024

This allows the specification of the wgpu backend through the WGPU_BACKEND environmental variable if present. I believe this is the default behavior in iced as well.

The default backend for my system, vulkan, is really bad and pretty unusable so I need to set it to opengl. I don't think you can specify the backend in the current version of floem so I hope this is an acceptable solution for now at least

@tamewild
Copy link
Contributor Author

tamewild commented Feb 8, 2024

seems i forgot to fmt

edit: done

@tamewild
Copy link
Contributor Author

tamewild commented Feb 8, 2024

oops im a idiot 🤦

@dzhou121
Copy link
Contributor

dzhou121 commented Feb 8, 2024

Thanks!

@dzhou121 dzhou121 merged commit f290468 into lapce:main Feb 8, 2024
13 of 14 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