Skip to content

Commit

Permalink
fix finalize_window
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed May 4, 2024
1 parent 1bcb770 commit 6ea6c20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions glutin-winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ use raw_window_handle::HasRawWindowHandle;

use raw_window_handle::RawWindowHandle;
use winit::error::OsError;
use winit::event_loop::ActiveEventLoop;
use winit::window::{Window, WindowAttributes};

#[cfg(glx_backend)]
Expand Down Expand Up @@ -189,7 +188,7 @@ fn create_display(
/// [`Window`]: winit::window::Window
/// [`Config`]: glutin::config::Config
pub fn finalize_window(
event_loop: &ActiveEventLoop,
event_loop: &impl GlutinEventLoop,
mut attributes: WindowAttributes,
gl_config: &Config,
) -> Result<Window, OsError> {
Expand Down

0 comments on commit 6ea6c20

Please sign in to comment.