i'm blue dabededabeday
This commit is contained in:
parent
f5e9bca56b
commit
5a88e1c4c2
6 changed files with 66 additions and 19 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use std::sync::Arc;
|
||||
|
||||
use glfw::{Context, Glfw, GlfwReceiver, PWindow, WindowEvent};
|
||||
use glfw::{Context, Glfw, GlfwReceiver, PWindow, Window, WindowEvent};
|
||||
use moonhare_event::{event::Event, events::window_events::window_close_event::WindowCloseEvent};
|
||||
|
||||
use crate::{window_config, MoonhareWindow};
|
||||
|
|
@ -30,7 +30,7 @@ impl GLFWWindow {
|
|||
window.make_current();
|
||||
|
||||
Self {
|
||||
glfw_window: window,
|
||||
glfw_window: window.try_into().unwrap(),
|
||||
events: events,
|
||||
glfw: glfw,
|
||||
is_running: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue