1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Update MSRV to Rust 1.72 (#3595)

Required to update to puffin 0.18
This commit is contained in:
Emil Ernerfeldt
2023-11-21 17:26:35 +01:00
committed by GitHub
parent 7abf8afd16
commit bfadb90d42
48 changed files with 206 additions and 190 deletions

View File

@@ -853,7 +853,7 @@ impl GlutinWindowContext {
.with_context_api(glutin::context::ContextApi::Gles(None))
.build(raw_window_handle);
let gl_context_result = {
let gl_context_result = unsafe {
crate::profile_scope!("create_context");
gl_config
.display()
@@ -867,9 +867,11 @@ impl GlutinWindowContext {
log::debug!(
"Retrying with fallback context attributes: {fallback_context_attributes:?}"
);
gl_config
.display()
.create_context(&gl_config, &fallback_context_attributes)?
unsafe {
gl_config
.display()
.create_context(&gl_config, &fallback_context_attributes)?
}
}
};
let not_current_gl_context = Some(gl_context);