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

Allow specifying minor GLES3 version #3998

Merged
merged 6 commits into from
Aug 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix emscripten dead code
  • Loading branch information
PJB3005 committed Aug 4, 2023
commit bb8e5cf8652678ab0fd6ace0ce4f3a2f0259a03a
3 changes: 2 additions & 1 deletion wgpu-hal/src/gles/egl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,10 @@ struct Inner {
config: khronos_egl::Config,
#[cfg_attr(target_os = "emscripten", allow(dead_code))]
wl_display: Option<*mut raw::c_void>,
#[cfg_attr(target_os = "emscripten", allow(dead_code))]
force_gles_minor_version: wgt::Gles3MinorVersion,
/// Method by which the framebuffer should support srgb
srgb_kind: SrgbFrameBufferKind,
force_gles_minor_version: wgt::Gles3MinorVersion,
}

impl Inner {
Expand Down