adjust some log levels on windows around EGL init
This commit is contained in:
1 parent
bcaba72472
commit
39d6549f23
1 file changed
+2
-2
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user