Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make WgpuSettings::default() check WGPU_POWER_PREF (#9482)
# Objective Allow users to specify the power preference when selecting a wgpu adapter, which is useful for testing or workaround purposes, and makes the behaviour consistent with the already present check for `WGPU_BACKEND`. ## Solution In `WgpuSettings::default()`, allow users to specify the `WGPU_POWER_PREF` to affect the wgpu adapter choice.
- Loading branch information