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

document Adapter::new_external in gles wgpu-hal #2863

Merged
merged 1 commit into from
Jul 10, 2022

Conversation

i509VCB
Copy link
Contributor

@i509VCB i509VCB commented Jul 8, 2022

Checklist

  • Run cargo clippy.
  • Run RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Description
Safety requirements for the function were not documented. Namely that the context has to be current.

@cwfitzgerald cwfitzgerald merged commit 0dfb111 into gfx-rs:master Jul 10, 2022
cwfitzgerald pushed a commit to cwfitzgerald/wgpu that referenced this pull request Jul 14, 2022
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