adjust some log levels on windows around EGL init

This commit is contained in:
Wez Furlong committed 2020-12-22 11:40:03 -08:00
1 parent bcaba72472
commit 39d6549f23
1 file changed
+2 -2
+2 -2
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),