Add logging to window and context creation

This commit is contained in:
Richard 2022-01-27 06:02:19 -03:00
parent 1e62fdf069
commit 764b424dfc
5 changed files with 38 additions and 9 deletions

View file

@ -20,6 +20,8 @@ impl iced_graphics::window::GLCompositor for Compositor {
) -> Result<(Self, Self::Renderer), Error> {
let gl = glow::Context::from_loader_function(loader_function);
log::info!("{:#?}", settings);
let version = gl.version();
log::info!("Version: {:?}", version);
log::info!("Embedded: {}", version.is_embedded);