Rename GraphicsInformation to Information

This commit is contained in:
Richard 2022-04-26 19:09:09 -03:00
parent 7a13928130
commit 5be1ac18fe
7 changed files with 13 additions and 13 deletions

View file

@ -67,10 +67,10 @@ impl iced_graphics::window::GLCompositor for Compositor {
}
}
fn get_information(&self) -> iced_graphics::window::GraphicsInformation {
fn get_information(&self) -> iced_graphics::window::Information {
let adapter = unsafe { self.gl.get_parameter_string(glow::RENDERER) };
iced_graphics::window::GraphicsInformation {
iced_graphics::window::Information {
backend: format!("{:?}", self.gl.version()),
adapter,
}