mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
adjust some log levels on windows around EGL init
This commit is contained in:
parent
bcaba72472
commit
39d6549f23
@ -146,7 +146,7 @@ impl WindowInner {
|
||||
Err(anyhow::anyhow!("Config says to avoid EGL"))
|
||||
}
|
||||
.and_then(|egl| unsafe {
|
||||
log::error!("Initialized EGL!");
|
||||
log::trace!("Initialized EGL!");
|
||||
conn.gl_connection
|
||||
.borrow_mut()
|
||||
.replace(Rc::clone(egl.get_connection()));
|
||||
@ -158,7 +158,7 @@ impl WindowInner {
|
||||
)?)
|
||||
})
|
||||
.or_else(|err| {
|
||||
log::error!("EGL init failed {:?}, fall back to WGL", err);
|
||||
log::warn!("EGL init failed {:?}, fall back to WGL", err);
|
||||
super::wgl::GlState::create(self.hwnd.0).and_then(|state| unsafe {
|
||||
Ok(glium::backend::Context::new(
|
||||
Rc::new(state),
|
||||
|
Loading…
Reference in New Issue
Block a user