Rename create_gl_window to create_window

This commit is contained in:
Olivier Goffart 2021-01-06 15:22:59 +01:00 committed by Simon Hausmann
parent cd915ddbe0
commit 0522b04d70
2 changed files with 4 additions and 6 deletions

View file

@ -673,7 +673,7 @@ impl Font for GLFont {
}
}
pub fn create_gl_window() -> ComponentWindow {
pub fn create_window() -> ComponentWindow {
ComponentWindow::new(GraphicsWindow::new(|event_loop, window_builder| {
GLRenderer::new(
&event_loop.get_winit_event_loop(),