Skip to content

Commit

Permalink
Update wgpu-hal/src/gles/adapter.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald authored Oct 30, 2023
1 parent 5724fce commit 6fa170c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/gles/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ impl super::Adapter {
.is_none()
.then_some(())
.and_then(|_| Self::parse_version(&version).ok());
let web_gl = cfg!(all(target_arch = "wasm32", not(target_os = "emscripten")));
let web_gl = cfg!(target_arch = "wasm32");

if let Some(full_ver) = full_ver {
let core_profile = (full_ver >= (3, 2)).then_some(unsafe {
Expand Down

0 comments on commit 6fa170c

Please sign in to comment.