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

Improve Instance::available_backend_features() on macOS. #5199

Conversation

waywardmonkeys
Copy link
Contributor

The check for macOS and Angle should add Backends::GL not Backends::VULKAN. Similarly, the comment gets updated to not refer to Vulkan.

This code was introduced in #5167.

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

The change that this is fixing is already covered in the changeling and hasn't been released yet.

The check for macOS and Angle should add `Backends::GL` not
`Backends::VULKAN`. Similarly, the comment gets updated to
not refer to Vulkan.

This code was introduced in gfx-rs#5167.
@waywardmonkeys waywardmonkeys requested a review from a team as a code owner February 5, 2024 14:59
@waywardmonkeys
Copy link
Contributor Author

Should this be true for iOS as well and not just macOS?

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

Thanks!

No, iirc you can't ship angle on ios

@cwfitzgerald cwfitzgerald added the PR: needs back-porting PR with a fix that needs to land on crates label Feb 5, 2024
@cwfitzgerald cwfitzgerald merged commit 01e94bc into gfx-rs:trunk Feb 5, 2024
25 checks passed
@waywardmonkeys waywardmonkeys deleted the correct-macos-enabled-backend-features branch February 5, 2024 17:26
@cwfitzgerald cwfitzgerald removed the PR: needs back-porting PR with a fix that needs to land on crates label Mar 1, 2024
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.

None yet

2 participants