update doc

This commit is contained in:
Downtime 2021-05-14 21:21:25 +08:00
parent e6db439870
commit 88defb65ca

View File

@ -47,6 +47,7 @@ impl Settings {
/// - `dx11` /// - `dx11`
/// - `gl` /// - `gl`
/// - `webgpu` /// - `webgpu`
/// - `primary`
pub fn from_env() -> Self { pub fn from_env() -> Self {
Settings { Settings {
internal_backend: backend_from_env() internal_backend: backend_from_env()