1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 19:27:22 +03:00

adjust some log levels on windows around EGL init

This commit is contained in:
Wez Furlong 2020-12-22 11:40:03 -08:00
parent bcaba72472
commit 39d6549f23

View File

@ -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),