From 39d6549f231654bcd31eb5a73e1a52822c08a97e Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 22 Dec 2020 11:40:03 -0800 Subject: [PATCH] adjust some log levels on windows around EGL init --- window/src/os/windows/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/window/src/os/windows/window.rs b/window/src/os/windows/window.rs index 7864953de..88f96128a 100644 --- a/window/src/os/windows/window.rs +++ b/window/src/os/windows/window.rs @@ -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),