use std::sync::Arc;
use winit::window::Window;
#[derive(Clone)]
pub struct SoftwareWindow {
window: Arc<Window>,
}
impl SoftwareWindow {
pub fn new(window: Arc<Window>) -> Self {
Self { window }
}
pub fn into_inner(self) -> Arc<Window> {
self.window
}
}