Add logging to window and context creation
This commit is contained in:
parent
1e62fdf069
commit
764b424dfc
5 changed files with 38 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue